You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
dear all, I used a code in matlab 2008a, but when I used in matlab r2012b, the matlab says : "The LevenbergMarquardt option is no longer valid."
the code is : "options = optimset('Display','off','TolX',eps,'TolFun',eps,'LargeScale','on',...
'LevenbergMarquardt');"
so what can I use to change this option? I tried comment this LevenbergMarquardt, it gives the same result for my currently using data, but I am not sure other case it will works or not.
Thank you!
Alan_Weiss
unread,
May 14, 2013, 12:47:28 PM5/14/13
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
In short, use the Algorithm option in lsqnonlin or lsqcurvefit, and
don't use the LargeScale option at all. If you want to use the
Levenberg-Marquardt algorithm, set the Algorithm option to
'levenberg-marquardt'.
I used : options = optimset('Display','off','TolX',eps,'TolFun',eps,'LargeScale','on',...
'Algorithm','Levenberg-Marquardt'); it works, I decide to use this. thank you!