Matlab中如何计算高斯拟合的半高宽

标签:
matlab高斯拟合半高宽fwhm |
在matlab中,高斯拟合的模型为f(x)=a1*exp(-(x-b1)/c1)^2
根据维基百科中高斯分布的条文
参见http://en.wikipedia.org/wiki/Gaussian_function
高斯分布的公式为
http://s12/middle/53b09568495d8f421384b&690
(2c)^2=c1^2
http://s5/middle/53b09568495d8f92ec164&690
FWHM=1.665*c1
高斯拟合的例子:
fresult=fit((1:length(profile))',profile','gauss7');%对数组profile做7个高斯函数相加的拟合
前一篇:我的2009(上)
后一篇:Ubuntu中批量重命名