How to find curve fitting coefficients

1 回表示 (過去 30 日間)
sewek
sewek 2018 年 7 月 4 日
回答済み: Etsuo Maeda 2018 年 7 月 11 日
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 ?

回答 (1 件)

Etsuo Maeda
Etsuo Maeda 2018 年 7 月 11 日
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

カテゴリ

Help Center および File ExchangeGet Started with Curve Fitting Toolbox についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by