Fit function and uncertainty

2 visualizzazioni (ultimi 30 giorni)
Christos Papadopoulos
Christos Papadopoulos il 11 Ott 2019
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

Risposte (2)

Alex Sha
Alex Sha il 12 Ott 2019
Hi, attach your data file please, if possible.

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

Categorie

Scopri di più su Get Started with Curve Fitting Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by