Effacer les filtres
Effacer les filtres

lsqcurvefit command window exit flag suppression

4 vues (au cours des 30 derniers jours)
Thijs
Thijs le 14 Fév 2012
Commenté : Mr M. le 29 Mai 2016
lsqcurvefit dumps its exit flags in the work space. i.e
lsqcurvefit stopped because the problem appears to be locally singular.
or
Optimization completed because the size of the gradient is less than the default value of the function tolerance.
is there any way to suppress these outputs in the command window?

Réponse acceptée

Andrew Newell
Andrew Newell le 14 Fév 2012
You could include options in your call to lsqcurvefit and set Display to 'off':
opts = optimset('lsqcurvefit');
optimset(opts,'Display','off');
... = lsqcurvefit(...,opts);
  3 commentaires
Andrew Newell
Andrew Newell le 14 Fév 2012
opts=optimset('lsqcurvefit') sets a lot of options specific to lsqcurvefit. In practice, it probably doesn't make much difference.
Mr M.
Mr M. le 29 Mai 2016
for me, neither version is working

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Systems of Nonlinear Equations 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!

Translated by