MATLAB Gaussian Fitting: Finding Error with MATLAB Output

  • Thread starter Thread starter natugnaro
  • Start date Start date
  • Tags Tags
    Fitting Gaussian
Click For Summary
The discussion revolves around fitting a Gaussian function to data in MATLAB, resulting in specific coefficients for the model, including a1, b1, and c1, along with their confidence bounds. The goodness of fit metrics indicate a strong model, with an R-square value of 0.9991 and a low RMSE of 4.599. The user seeks to express the result for the coefficient c1 in the format c1±M, where M represents the measurement error. They inquire whether it is possible to derive this error from the provided output, suggesting the use of online calculators for assistance in measurement analysis.
natugnaro
Messages
61
Reaction score
1
Hi
I have fitted Gaussian function to some data in matlab.
Now MATLAB gives me this:

General model Gauss1:
f(x) = a1*exp(-((x-b1)/c1)^2)
Coefficients (with 95% confidence bounds):
a1 = 2633 (2628, 2637)
b1 = 1824 (1824, 1824)
c1 = 4.979 (4.97, 4.989)

Goodness of fit:
SSE: 3.694e+004
R-square: 0.9991
Adjusted R-square: 0.9991
RMSE: 4.599

I would like to write my result for c1 like c1\pmM where M is error in measurement,
Since it's been a while I have done any measurement analysis, is it possible to get this error from output above ?
 
Physics news on Phys.org

Similar threads

  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 12 ·
Replies
12
Views
4K
Replies
28
Views
4K
Replies
2
Views
1K
Replies
3
Views
11K