Trying to do a curve fitting but having trouble getting it to work.

1 vue (au cours des 30 derniers jours)
Dillon Romans
Dillon Romans le 18 Fév 2021
Commenté : Matt J le 18 Fév 2021
  3 commentaires
Dillon Romans
Dillon Romans le 18 Fév 2021
Its an assignment that restricts us from using that function. Do you happen to know why I keep getting the "local minimum possible" error?
Matt J
Matt J le 18 Fév 2021
If it were an error, lsqcurvefit would tell you so, for example:
>> lsqcurvefit(1)
Error using lsqcurvefit (line 171)
The input to LSQCURVEFIT should be either a structure with valid fields or consist of at least four arguments.

Connectez-vous pour commenter.

Réponses (1)

Matt J
Matt J le 18 Fév 2021
Modifié(e) : Matt J le 18 Fév 2021
Do you happen to know why I keep getting the "local minimum possible"
Because lsqcurvefit thinks it succeeded in finding a solution (and maybe it did!).

Catégories

En savoir plus sur Get Started with Curve Fitting Toolbox 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