What is lambda in lsqcurvefit?
조회 수: 2 (최근 30일)
이전 댓글 표시
lsqcurvefit returns the lambda values as a structure with fields lower and upper. But according to the Levenberg-Marquardt algorithm
, where we have to specify the initial value of lambda, which is a scalar and it changes its value after each iteration.
Why is the lambda returned by the lsqcurvefit function having two vectors for upper and lower separately and why are they zeros in most of the cases?
댓글 수: 0
채택된 답변
Matt J
2019년 4월 18일
편집: Matt J
2019년 4월 18일
The lambda returned by lsqcurvefit are not Levenberg-Marquardt parameters. They are the Lagrange multiplers at the solution. If the Lagrange multipliers are zero most of the time, it is probably because your solutions tend not to lie at the upper and lower boundaries.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Least Squares에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!