Respuestas (2)

Alan Weiss
Alan Weiss el 4 de Sept. de 2015

0 votos

It depends on how many variables you have. If you have one unknown in a nonlinear function, you can use fzero. If you have more than one unknown, then you can try fminsearch on the sum of squares of your function values. But this might fail. Try starting at a variety of points to have a better chance of finding a solution.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
Matt J
Matt J el 4 de Sept. de 2015
Editada: Matt J el 4 de Sept. de 2015

0 votos

There are a number of nonlinear least squares solvers on the File Exchange. Browse for your favorite:

Categorías

Etiquetas

Preguntada:

el 4 de Sept. de 2015

Comentada:

el 4 de Sept. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by