Fit function and uncertainty

2 ビュー (過去 30 日間)
Christos Papadopoulos
Christos Papadopoulos 2019 年 10 月 11 日
回答済み: Christos Papadopoulos 2019 年 10 月 16 日
Hi everybody,
i used the 'fit' functin to fit data to a gauss function
'a + b1 * exp(-(x-x1)^2/(2*sigma1^2)) + b2 * exp(-((x-x2)^2)/(2*(sigma2^2))'
and got a centroid at x1 and x2.
The ouput is:
a = 0.9905 (0.8866, 1.094)
b1 = 3.294 (2.896, 3.693)
b2 = 4.09e+04 (-1.652e+11, 1.652e+11)
sigma1 = 39.21 (33.55, 44.87)
sigma2 = 184.2 (-1.948e+07, 1.948e+07)
x1 = 597.5 (592.1, 602.9)
x2 = -1090 (-2.408e+08, 2.408e+08)
(forget about x2)
and:
sse: 1.8839e+03
rsquare: 0.2572
dfe: 1021
adjrsquare: 0.2528
rmse: 1.3584
Does any of these figures give me the uncertainty of the centroid?
Thanks for your help.
Best Chris

回答 (2 件)

Alex Sha
Alex Sha 2019 年 10 月 12 日
Hi, attach your data file please, if possible.

Christos Papadopoulos
Christos Papadopoulos 2019 年 10 月 16 日
Hi
i'm sorry i can't. :/
but do you know what all these figures tell me?
Best
Chris

カテゴリ

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