lsqnonlin different results version r2011b vs r2012a

2 Ansichten (letzte 30 Tage)
julie
julie am 21 Jan. 2013
I have implemented a program on Matlab r2012a. I have now to work with this code on the older version r2011b but the optimization algorithm lsqnonlin does not give me the same results.. How can I fix it?
  1 Kommentar
Matt J
Matt J am 21 Jan. 2013
Bearbeitet: Matt J am 21 Jan. 2013
Possibly, you have a continuum of non-unique solutions. Are the resnorms the same in both versions, or are they different too? What is the magnitude of the difference you are seeing in the x and resnorms? What happens if you bring the initial point slightly closer to the desired solution?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Shashank Prasanna
Shashank Prasanna am 21 Jan. 2013
Look under R2012a, there have been changes to the levenberg-marquardt algorithm. Here is the link to the release notes. You might have to to use a different algorithm:

Kategorien

Mehr zu Get Started with Optimization Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by