fitting a*(1-exp(-b*x))
7 views (last 30 days)
Show older comments
Hello,
I have been trying to fit a few datasets with a function of the type:
a*(1-exp(-b*x)),
or
a*exp(-b*x)+c
which has proved usually quite unsuccessful. I have tried from the Curve Fitting Toolbox, as well as directly from the code. I have played with the starting points, and the TolFun and TolX parameters. The fit from Matlab is either totally off, or just returns the initial values.
Would someone be able to explain what is the best way to fit with this kind of model.
Thanks,
Raphael
1 Comment
Answers (0)
See Also
Categories
Find more on Fit Postprocessing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!