Displaying lsqnonlin estimation values at each iteration

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

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)

Categories

Asked:

on 13 Apr 2018

Answered:

on 13 Apr 2018

Community Treasure Hunt

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

Start Hunting!