lsqcurvefi​t运行时命令行的自动​提示怎么才能不显示。

用lsqcurvefit拟合一个曲线,总自动显示如下提示,非常不方便在命令行查上次拟合的结果,有谁知道怎么让这个不显示吗
Local minimum possible.
lsqcurvefit stopped because the size of the current step is less than
the value of the step size tolerance.

 Accepted Answer

0 votes

需要设置
options = optimoptions( 'lsqcurvefit', 'Display', 'none' );
然后调用
lsqcurvefit(fun,x0,xdata,ydata,lb,ub,options)

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!