Prev: Multithreading (Matlab 2009b on windows XP Prof. 64-bit)
Next: Calling m files from a central m file - ODE routine
From: Charbel on 11 Jan 2010 04:42 i'm getting this error while using lsqcurvefit Optimisation terminated: norm of the current step is less than OPTIONS.TolX Any suggestions? Best Regards
From: Charbel on 11 Jan 2010 07:26 i've tried to change the value of TolX via optimset and i'm still getting the same error. i've tried 1e-20 1e-6 1 e-4 and still the same error. Any suggestions???
From: John D'Errico on 11 Jan 2010 07:36 "Charbel " <charboul23(a)hotmail.com> wrote in message <hierpb$ebk$1(a)fred.mathworks.com>... > i'm getting this error while using lsqcurvefit > > Optimisation terminated: norm of the current step is less than OPTIONS.TolX > > Any suggestions? Why do you presume it is an error? "terminated" is a synonym for "done". John
From: Alan Weiss on 11 Jan 2010 07:47
Charbel wrote: > i'm getting this error while using lsqcurvefit > > Optimisation terminated: norm of the current step is less than OPTIONS.TolX > > Any suggestions? > > Best Regards Hi, I am sorry that this message confused you. This is NOT an error message. Instead, it is simply a message telling you the reason lsqcurvefit stopped. It is likely that your results are good. For more information on checking to see if you results are OK, see http://www.mathworks.com/access/helpdesk/help/toolbox/optim/ug/br44i2r.html and look at "Local minimum possible." Exit messages are much more friendly and clear in recent versions of MATLAB. For lsqcurvefit, the messages were changed in R2009b. Alan Weiss MATLAB mathematical toolbox documentation |