Question about displaying stop conditions

1 次查看(过去 30 天)
Hello
Im working on lsqcurve fitting problems and I want to display the specific information when the solver is stopped.
Here are the things what I want to display.
1. iterated number (not Maximum Iteration number but the iterated number by the solver stopped)
2. Message of the reason for solver stopped. (Like "solver was stopped because ~~")
Thanks
  2 个评论
KSSV
KSSV 2017-11-1
Read the documentation part of it.......there are options to show what you want.

请先登录,再进行评论。

采纳的回答

Mary Abbott
Mary Abbott 2017-11-3
Hello,
The information you are looking for can be found in the fifth output argument of the "lsqcurvefit" function:
https://www.mathworks.com/help/optim/ug/lsqcurvefit.html#output_argument_d119e73874

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 非線形最小二乗法 (曲線近似) 的更多信息

Community Treasure Hunt

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

Start Hunting!