How to I solve a equation?
Ältere Kommentare anzeigen
I'm quite new to matlab and need to learn how to solve equations with matlab. I searched for help but I couldn't find much help or I didn't understand what was told to me.
For example I need to solve and equation:
x=1-cos(x)
I tryed FSOLVE, but didn't quite understand how it works.
My professor briefly mentioned something about using iteration method to solve the equation, but what He explained was quite complicated so I didn't understand much.
Akzeptierte Antwort
Weitere Antworten (1)
fzero(@(x) 1-cos(x)-x, [-2*pi,2*pi] )
Kategorien
Mehr zu Linear Algebra finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!