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.

 采纳的回答

0 个投票

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

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 非线性最小二乘(曲线拟合) 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!