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

 採用された回答

yoval
yoval 2022 年 11 月 23 日

0 投票

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

タグ

質問済み:

2022 年 11 月 23 日

回答済み:

2022 年 11 月 23 日

Community Treasure Hunt

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

Start Hunting!