How to I solve a equation?

3 visualizaciones (últimos 30 días)
Ron
Ron el 23 de Sept. de 2013
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.

Respuesta aceptada

David Sanchez
David Sanchez el 23 de Sept. de 2013
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 comentario
Ron
Ron el 25 de Sept. de 2013
Thank you very much, the links you provided are very helpful!

Iniciar sesión para comentar.

Más respuestas (1)

Matt J
Matt J el 23 de Sept. de 2013
Editada: Matt J el 23 de Sept. de 2013
fzero(@(x) 1-cos(x)-x, [-2*pi,2*pi] )

Community Treasure Hunt

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

Start Hunting!

Translated by