Solving nonlinear system of equations without defining a function
Mostrar comentarios más antiguos
How can I solve a nonlinear system of equations by fsolve without defining a "function.m"?
Respuestas (1)
Torsten
el 12 de Nov. de 2014
0 votos
For simple problems, you could use a function handle:
F=@(x)(x.^2-1);
x0=0;
[x,fval] = fsolve(F,x0);
Best wishes
Torsten.
Categorías
Más información sobre Systems of Nonlinear Equations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!