How to find curve fitting coefficients

Hi Can you advise how I can generate curve fitting coefficients using a curve fitting relationship: E=A*(X-B)^C+D for known X and Y (E=lnY), so I am looking for A,B,C,D of relationship: Y=EXP(A*(X-B)^C+D) for known X,Y. Can I use Curve Fitting ToolBox ?

Antworten (1)

Etsuo Maeda
Etsuo Maeda am 11 Jul. 2018

0 Stimmen

x = lsqcurvefit(fun,x0,xdata,ydata) % in Optimization Toolbox
or
x = fminsearch(fun,x0) % in MATLAB
may help you to solve Y = EXP(A*(X-B)^C+D)
HTH

Kategorien

Produkte

Version

R2018a

Gefragt:

am 4 Jul. 2018

Beantwortet:

am 11 Jul. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by