필터 지우기
필터 지우기

lsqnonlin different results version r2011b vs r2012a

조회 수: 3 (최근 30일)
julie
julie 2013년 1월 21일
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
Matt J
Matt J 2013년 1월 21일
편집: Matt J 2013년 1월 21일
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?

댓글을 달려면 로그인하십시오.

답변 (1개)

Shashank Prasanna
Shashank Prasanna 2013년 1월 21일
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:

카테고리

Help CenterFile Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by