Least squares solvers - Optimization Toolbox

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

Matt J
Matt J il 3 Dic 2021
Modificato: Matt J il 3 Dic 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 Commento
Sana KHALED
Sana KHALED il 3 Dic 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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Get Started with Optimization Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by