Fit function and uncertainty
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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
0 Kommentare
Antworten (2)
Siehe auch
Kategorien
Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!