Effacer les filtres
Effacer les filtres

Question about displaying stop conditions

3 vues (au cours des 30 derniers jours)
HYOJAE LEE
HYOJAE LEE le 1 Nov 2017
Commenté : HYOJAE LEE le 6 Nov 2017
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 commentaires
KSSV
KSSV le 1 Nov 2017
Read the documentation part of it.......there are options to show what you want.
HYOJAE LEE
HYOJAE LEE le 6 Nov 2017
Thanks for your comment.

Connectez-vous pour commenter.

Réponse acceptée

Mary Abbott
Mary Abbott le 3 Nov 2017
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 commentaire
HYOJAE LEE
HYOJAE LEE le 6 Nov 2017
Thanks for the appropriate information!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 非線形最小二乗法 (曲線近似) dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!