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

1 vue (au cours des 30 derniers jours)
"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 

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 1 Mar 2021
Modifié(e) : MathWorks Support Team le 26 Fév 2021
This is a documentation bug.
The default algorithm for 'fit' is 'Trust-Region' since 2002.
 

Plus de réponses (0)

Tags

Aucun tag saisi pour le moment.

Produits


Version

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by