Least squares solvers - Optimization Toolbox

8 visualizaciones (últimos 30 días)
Sana KHALED
Sana KHALED el 3 de Dic. de 2021
Comentada: Sana KHALED el 3 de Dic. de 2021
I am working on the least square method using the otimization toolbox.
I would like to know the difference between lsqnonlin solver and lsqcurvefit solver ? I would also appreciate to know the meaning of the output values of: "funccount", "norm of step" and "first order optimality".
Thank you, in advance.

Respuesta aceptada

Matt J
Matt J el 3 de Dic. de 2021
Editada: Matt J el 3 de Dic. de 2021
The only difference between the two solvers is the input syntax. lsqcurvefit has the more convenient syntax when the residuals are of the form,
resid = F(theta,x) - y
Explanations for the iterative display headings can be found here:
  1 comentario
Sana KHALED
Sana KHALED el 3 de Dic. de 2021
Right, they differ in the input syntax, but since they both rely on the same algorithms (trust-region algorithm/levenberg-marquardt), then why don't they give the same values for the output parameters? That would mean that the calculation is not the same either, right?
Thank you.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Nonlinear Optimization en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by