Fitting equation to data

1 visualización (últimos 30 días)
Daniel Alejandro Diaz
Daniel Alejandro Diaz el 11 de Abr. de 2023
Respondida: Cris LaPierre el 12 de Abr. de 2023
Dear Community,
I have been trying to match my model to the data I have. Currently, I am using lsqcurve fit I am having trouble with this prompt seen below. I believe my code isnt working because my Dab is below the step tolerance. Can anyone help me in changing this step tolerance to make my code more suitable for this case? I Also attached a picture of my graph to show how it is affecting it.. On the other hand, when my Dab is below the 1e-6 step tolerance the code works great and fits my curve perfectly so I believe it is all because of the step tolerance
Any help would be greatly appreciated!

Respuestas (1)

Cris LaPierre
Cris LaPierre el 12 de Abr. de 2023
Use the 'Options' input to adjust the StepTolerance property.
Create your input using optimoptions.

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by