Fitting equation to data

1 次查看(过去 30 天)
Daniel Alejandro Diaz
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!

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Curve Fitting Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by