Why cannot I obtain Levenberg-Marquardt as the default Algorithm for 'fit'?

1 回表示 (過去 30 日間)
"Input Arguments > Name-Value Pair Arguments > Nonlinear Least-Squares Options > Algoritm" 
the default is 'Levenberg-Marquardt'. 
However 'Trust-Region' is displayed by 'fitoptions' instead. 
Why is this happening ('Levenberg-Marquardt' is being changed to 'Trust-Region')? 
>> ft = fittype('10^(a*x+b)'); 
ans = fit(X,Y,ft,'StartPoint',[p(1),p(2)]); 
>> fitoptions(ft) 
Normalize: 'off' 
Exclude: [] 
Weights: [] 
Method: 'NonlinearLeastSquares' 
Robust: 'Off' 
StartPoint: [1x0 double] 
Lower: [1x0 double] 
Upper: [1x0 double] 
Algorithm: 'Trust-Region' 
DiffMinChange: 1.0000e-08 
DiffMaxChange: 0.1000 
Display: 'Notify' 
MaxFunEvals: 600 
MaxIter: 400 
TolFun: 1.0000e-06 
TolX: 1.0000e-06 

採用された回答

MathWorks Support Team
MathWorks Support Team 2021 年 3 月 1 日
編集済み: MathWorks Support Team 2021 年 2 月 26 日
This is a documentation bug.
The default algorithm for 'fit' is 'Trust-Region' since 2002.
 

その他の回答 (0 件)

カテゴリ

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

タグ

タグが未入力です。

製品


リリース

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by