Question about displaying stop conditions

조회 수: 1 (최근 30일)
HYOJAE LEE
HYOJAE LEE 2017년 11월 1일
댓글: HYOJAE LEE 2017년 11월 6일
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.
HYOJAE LEE
HYOJAE LEE 2017년 11월 6일
Thanks for your comment.

댓글을 달려면 로그인하십시오.

채택된 답변

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
  댓글 수: 1
HYOJAE LEE
HYOJAE LEE 2017년 11월 6일
Thanks for the appropriate information!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 非線形最小二乗法 (曲線近似)에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!