lsqcurvefit answer upon termination?
Ältere Kommentare anzeigen
I'm curious about what answer lsqcurvefit is giving me when it terminates. When the program ends due to reaching number of iterations, does the answer (x) come from the last iteration or does it return the best answer based on previous iterations? By best I mean lowest first order optimality measure, step size, function tolerance size, etc.
2 Kommentare
Torsten
am 11 Mär. 2024
x and fval come from the last iteration.
Nicholas Ross
am 11 Mär. 2024
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Choose a Solver finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!