Search code examples
mathematical-optimizationmatlab

MATLAB: LSQNONLIN changes in R2011a?


I'm working with a matlab code package that was handed down to me. It was written in R2007b version, and I saw it perform. My lab just acquired R2011a and although the package runs without errors, it produces different (and notably worse) results.

I've zeroed in on the conclusion that the difference comes when executing lsqnonlin

Were there any known and significant changes in the versions? How would I track down the differences?
I'll be glad to supply parts of code if needed.

Thank you!


Solution

  • In 2008, Matlab changed a few of the default parameters for the optimization toolbox, so you need to figure out what exactly u need to change back

    look here and here