How to solve exponential equation in Matlab?

Answers (3)

Torsten
Torsten on 22 Feb 2018
Edited: Torsten on 22 Feb 2018
Substitute
y = exp(-0.1*x).
Your equation now becomes
y^10 + y = 0.5
Use MATLAB's "roots" to solve for y.
Then
x = -10*log(y)
for the real-valued positive root(s) are solutions to your original equation.
Best wishes
Torsten.
Use an anonymous function and the fzero (link) function.
See the documentation on Anonymous Functions (link) for details.

Categories

Find more on Mathematics and Optimization in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!