lsqcurvefit命令疑问。

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

 Respuesta aceptada

yoval
yoval el 23 de Nov. de 2022

0 votos

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

Más respuestas (0)

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 23 de Nov. de 2022

Respondida:

el 23 de Nov. de 2022

Community Treasure Hunt

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

Start Hunting!