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개)

카테고리

도움말 센터File Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기

질문:

2011년 6월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by