Displaying lsqnonlin estimation values at each iteration

3 views (last 30 days)
I have 10 different measures of the output of a non-linear function with 3 unknown parameter [a,b,c]. I identified [a,b,c] using the function lsqnonlin, but I want to know what are the values of the estimations calculated at every single measure

Accepted Answer

Matt J
Matt J on 13 Apr 2018
See the OutputFcn example. The example does basically exactly what you ask. It is written for fmincon, but applies to lsqnonlin as well.

More Answers (1)

Community Treasure Hunt

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

Start Hunting!