x = lsqcurvefit(fun,x0,xdata,ydata,lb,ub,options)
如果不知道lb和ub,只想设置options里的maxfunevals的值,请问应该怎么输,谢谢。

 Akzeptierte Antwort

yoval
yoval am 23 Nov. 2022

0 Stimmen

x = lsqcurvefit(fun,x0,xdata,ydata,[],[],options)
options 可以用 optimset 设置:options = optimset('MaxFunEvals',1e8)

Weitere Antworten (0)

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 23 Nov. 2022

Beantwortet:

am 23 Nov. 2022

Community Treasure Hunt

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

Start Hunting!