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 件のコメント

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

サインインしてコメントする。

回答 (0 件)

質問済み:

2011 年 6 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by