lsqnonlin - output value at each iteration?
1 view (last 30 days)
Show older comments
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
on 27 Jun 2011
Very nice when somebody answers and find the previous answer is gone, especially for further reference (for other people too).
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!