跪求matlab拟合高斯函数
来源:学生作业帮 编辑:搜搜做题作业网作业帮 分类:综合作业 时间:2024/07/29 20:34:54
跪求matlab拟合高斯函数
x=(2001 2002 2003 2004 2005)
y=(5.2 12.53 7.31 0.6 6.08)
以上面的数据为例写出matlab程序
x=(2001 2002 2003 2004 2005)
y=(5.2 12.53 7.31 0.6 6.08)
以上面的数据为例写出matlab程序
![跪求matlab拟合高斯函数](/uploads/image/z/5743770-42-0.jpg?t=%E8%B7%AA%E6%B1%82matlab%E6%8B%9F%E5%90%88%E9%AB%98%E6%96%AF%E5%87%BD%E6%95%B0)
我可以的
General model Gauss1:
f(x) = a1*exp(-((x-b1)/c1)^2)
Coefficients (with 95% confidence bounds):
a1 = 12.62 (-5.633, 30.88)
b1 = 2002 (2001, 2004)
c1 = 1.192 (-0.816, 3.2)
Goodness of fit:
SSE: 36.72
R-square: 0.5009
Adjusted R-square: 0.001709
RMSE: 4.285
![](http://img.wesiedu.com/upload/d/d0/dd07d88befbae50ca1026a829b8e65d5.jpg)
General model Gauss1:
f(x) = a1*exp(-((x-b1)/c1)^2)
Coefficients (with 95% confidence bounds):
a1 = 12.62 (-5.633, 30.88)
b1 = 2002 (2001, 2004)
c1 = 1.192 (-0.816, 3.2)
Goodness of fit:
SSE: 36.72
R-square: 0.5009
Adjusted R-square: 0.001709
RMSE: 4.285
![](http://img.wesiedu.com/upload/d/d0/dd07d88befbae50ca1026a829b8e65d5.jpg)