fsolve input

The fsolve( ) takes function with parameters of the form x(1),x(2).. I have quite long equations involving unknowns x and y. How can I give my equations as input?

1 comentario

Sean de Wolski
Sean de Wolski el 22 de Jul. de 2011
Could you show us your equations?

Iniciar sesión para comentar.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 23 de Jul. de 2011

0 votos

Instead of using an anonymous function, use a real function that starts out with
y = x(2);
x = x(1); %make sure this is last
and then use your existing equations.

Más respuestas (0)

Categorías

Más información sobre Mathematics en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 22 de Jul. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by