File Exchange

image thumbnail

Integer order 1D Gaussian function

version (1.24 KB) by Adam Wyatt
Performs a Gaussian function of any positive order.


Updated 20 Jul 2007

View License

Computes the Gaussian function in 1D:

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.

Cite As

Adam Wyatt (2020). Integer order 1D Gaussian function (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux