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

1 visualización (últimos 30 días)
Dillon Romans
Dillon Romans el 18 de Feb. de 2021
Comentada: Matt J el 18 de Feb. de 2021
  3 comentarios
Dillon Romans
Dillon Romans el 18 de Feb. de 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 el 18 de Feb. de 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.

Iniciar sesión para comentar.

Respuestas (1)

Matt J
Matt J el 18 de Feb. de 2021
Editada: Matt J el 18 de Feb. de 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!).

Categorías

Más información sobre Get Started with Curve Fitting Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by