フィルターのクリア

covariance between the estimated parameters from curve fitting toolbox

19 ビュー (過去 30 日間)
Bram Stegeman
Bram Stegeman 2019 年 8 月 23 日
コメント済み: Matt J 2021 年 4 月 11 日
Hello,
I have collected data (x,y) from a sine wave. Now I want to fit a model to this data, e.g: y=A*sin(B*x+C) or y=E + A*sin(B*x) + D*cos(B*x).
Is there a way to estimate this parameters (A to D) with matlab, outside the curve fitting toolbox? The latter can provide me the parameters and confidence intervals, but i'm interested in the covariance between the estimated parameters.
If not, is there another way to calcualte the parameters and covariance between the estimated parameters A to D?
Thanks a lot.
Bram

採用された回答

Matt J
Matt J 2019 年 8 月 23 日
編集済み: Matt J 2019 年 8 月 23 日
There is lsqcurvefit in the Optimization Toolbox. However, the Curve Fitting Toolbox does let you return the Jacobian, which is presumably what you would use for your covariance analysis,
  3 件のコメント
Mirta Dumancic
Mirta Dumancic 2021 年 4 月 11 日
How?
Matt J
Matt J 2021 年 4 月 11 日
It is the 7th output argument of lsqcurvefit
[x,resnorm,residual,exitflag,output,lambda,jacobian] = lsqcurvefit(___)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by