From: Pablo on
Hi,

Can anyone explain what the termination flags 2 and 3 mean in the function lsqnonlin?
Is there a place where to get more details about this routine? Matlab only says that the
"Change in the residual smaller than the specified tolerance" . Is it good or bad?

Thanks
From: Alan Weiss on
On 7/15/2010 11:01 PM, Pablo wrote:
> Hi,
>
> Can anyone explain what the termination flags 2 and 3 mean in the
> function lsqnonlin?
> Is there a place where to get more details about this routine? Matlab
> only says that the "Change in the residual smaller than the specified
> tolerance" . Is it good or bad?
>
> Thanks

For information on determining if the solution is good, see
http://www.mathworks.com/access/helpdesk/help/toolbox/optim/ug/br44i2r.html#br44i8w

For information on the algorithm, see
http://www.mathworks.com/access/helpdesk/help/toolbox/optim/ug/brnoybu.html

Alan Weiss
MATLAB mathematical toolbox documentation