What is lambda in lsqcurvefit?

2 ビュー (過去 30 日間)
Prashant Govindarajan
Prashant Govindarajan 2019 年 4 月 18 日
編集済み: Matt J 2019 年 4 月 19 日
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?

採用された回答

Matt J
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.
  2 件のコメント
Prashant Govindarajan
Prashant Govindarajan 2019 年 4 月 19 日
編集済み: Prashant Govindarajan 2019 年 4 月 19 日
So is there any way to obtain the parameter λ (damping parameter) from the lsqcurvefit function? I require it to calculate the standard errors of the estimated parameters.
Matt J
Matt J 2019 年 4 月 19 日
編集済み: Matt J 2019 年 4 月 19 日
You can use the OutputFcn option to get it, or display it to the screen (to some precision) by settings the Display option to 'iter', as described here,

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by