lsqnonlin - output value at each iteration?

Using lsqnonlin, how do I output the value of each each iteration? It doesn't seem that the output arguments (x,resnorm,residual,exitflag,output,lambda,jacobian) contain this information.
Also, if I use opt = optimset('Display','iter-detailed'), I get the values: Iteration #, Func-count, Residual, First-Order Optimality, Lambda, and Norm of step. which don't actually tell me the value of each iteration.

2 Comments

Very nice when somebody answers and find the previous answer is gone, especially for further reference (for other people too).
I decided to consolidate our previous discussion into this question for brevity and clarity. Sorry for the confusion! Please update your link

Sign in to comment.

Answers (0)

Categories

Asked:

on 27 Jun 2011

Community Treasure Hunt

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

Start Hunting!