Filter löschen
Filter löschen

Fitting equation to data

1 Ansicht (letzte 30 Tage)
Daniel Alejandro Diaz
Daniel Alejandro Diaz am 11 Apr. 2023
Beantwortet: Cris LaPierre am 12 Apr. 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!

Antworten (1)

Cris LaPierre
Cris LaPierre am 12 Apr. 2023
Use the 'Options' input to adjust the StepTolerance property.
Create your input using optimoptions.

Community Treasure Hunt

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

Start Hunting!

Translated by