Clear Filters
Clear Filters

lsqnonlin - output value at each iteration?

1 view (last 30 days)
TSPQ
TSPQ on 27 Jun 2011
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
Oleg Komarov
Oleg Komarov on 27 Jun 2011
Very nice when somebody answers and find the previous answer is gone, especially for further reference (for other people too).
TSPQ
TSPQ on 27 Jun 2011
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)

Community Treasure Hunt

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

Start Hunting!