【发布时间】:2013-07-03 09:48:43
【问题描述】:
如何在 Matlab 中得到高斯拟合曲线的标准差?
这不是 fit 函数的输出。
代码:
[fy, god] = fit(xx, yy, 'gauss2');
输出:
>> fy
fy =
General model Gauss2:
fy(x) = a1*exp(-((x-b1)/c1)^2) + a2*exp(-((x-b2)/c2)^2)
Coefficients (with 95% confidence bounds):
a1 = -0.09287 (-0.09414, -0.0916)
b1 = 3805 (3805, 3806)
c1 = 20.9 (19.8, 22.01)
a2 = -0.3454 (-0.3497, -0.3411)
b2 = 3862 (3861, 3862)
c2 = 19.32 (18.82, 19.82)
>> god
god =
sse: 2.7037e-04
rsquare: 0.9995
dfe: 55
adjrsquare: 0.9994
rmse: 0.0022
【问题讨论】:
标签: matlab curve-fitting