File Exchange

image thumbnail

Integer order radial-2D Gaussian function.

version (1.43 KB) by Adam Wyatt
Generates a 'radial' Gaussian function in 2D of any positive integer order.

1 Download

Updated 20 Jul 2007

View License

Calculates a rotated 2D gaussian (cylindrical)

y = gauss2D_R(X, Y, FWHM_x, FWHM_y, theta, order);

X = Matrix of x indices
Y = Matrix of y indices
FWHM_x = FWHM in x dimension
FWHM_y = FWHM in y dimension
theta = Rotation angle in degress (+ve = anticlockwise)
order = Gaussian order

X = ones(Ny, 1) * ((0:Nx-1)*dx - x0)
Y = ((0:Ny-1)*dy - y0) * ones(1, Nx);

Cite As

Adam Wyatt (2020). Integer order radial-2D 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