Problem Curve Fitting Toolbox using Custom Equation for a Exponential Function

Hello,
I have a problem using a "Custom Equation" for an exponential function. With the use of the model type "Exponential" a*exp(b*x) I get a proper fit.
In order to extend with a constant factor, I used model type "Custom Equation" and entered y=a*exp(b*x).
Here I got an error: "Inf computed by model function, fitting cannot continue. Try using or tightening upper and lower bounds on coefficients".
All Fit Options like algorithm, start points, etc, are equal (cf. screenshots). It doesn't make a difference if "Center and scale" is activated.
A limitation to the boundaries doesn't help.
Why I can't get a fit with the "Custom Equation"?
Best Regards
Exponential
Custom Equation

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Get Started with Curve Fitting Toolbox 的更多信息

产品

版本

R2016a

提问:

2018-9-7

编辑:

2018-9-7

Community Treasure Hunt

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

Start Hunting!

Translated by