Integer order 1D Gaussian function

版本 1.0.0.0 (1.2 KB) 作者: Adam Wyatt
Performs a Gaussian function of any positive order.
2.5K 次下载
更新时间 2007/7/20

查看许可证

Computes the Gaussian function in 1D:
exp(-log(2)*(2*(x-x0)./FWHM).^(2*floor(abs(order))));

Where:
x = Co-ordinate
x0 = Centre of function
FWHM = Full Width Half Max of the function
order = Gaussian order

Normal Gaussian is of order 1.

Note that FWHM = (1/e Half Width)/sqrt(2*log(2))
log is the natural log.

引用格式

Adam Wyatt (2026). Integer order 1D Gaussian function (https://ww2.mathworks.cn/matlabcentral/fileexchange/15635-integer-order-1d-gaussian-function), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2007a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 General Applications 的更多信息
版本 已发布 发行说明
1.0.0.0