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.

 Réponse acceptée

David Sanchez
David Sanchez le 23 Sep 2013

0 votes

Take a look at the following links and try to do their examples:
http://www2.math.umd.edu/~immortal/206/tutorial/SolvingEquations.shtml
http://www.mathworks.es/es/help/symbolic/solve.html

1 commentaire

Ron
Ron le 25 Sep 2013
Thank you very much, the links you provided are very helpful!

Connectez-vous pour commenter.

Plus de réponses (1)

Matt J
Matt J le 23 Sep 2013
Modifié(e) : Matt J le 23 Sep 2013

0 votes

fzero(@(x) 1-cos(x)-x, [-2*pi,2*pi] )

Catégories

En savoir plus sur Mathematics dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by