Matlab fsolve changes in 2012a version

I have fsolve in m file and it works fine in 2011b version. However, fsolve fails every time in 2012a. Was there a significant change to the function or parameters that might have caused this?

+3


source to share


2 answers


Here's what the R2012a Release Notice says about fsolve

:

Levenberg-Marquardt algorithm

The fsolve, lsqcurvefit and lsqnonlin modes no longer use the Levenberg-Marquardt regularization parameter value like, so they no longer return the -3 exit flag when using the levenberg-marquardt algorithm. Instead, they use TolX tolerance in all internal calculations.



http://www.mathworks.com/help/toolbox/optim/rn/bs86_xz.html#btd80ns

+2


source


You might want to compare it with the documentation of the current version and older versions .



+1


source







All Articles