How to find curve fitting coefficients

1 visualización (últimos 30 días)
sewek
sewek el 4 de Jul. de 2018
Respondida: Etsuo Maeda el 11 de Jul. de 2018
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 ?

Respuestas (1)

Etsuo Maeda
Etsuo Maeda el 11 de Jul. de 2018
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

Categorías

Más información sobre Get Started with Curve Fitting Toolbox en Help Center y File Exchange.

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by