Integer order radial-2D Gaussian function.
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
Set:
X = ones(Ny, 1) * ((0:Nx-1)*dx - x0)
Y = ((0:Ny-1)*dy - y0) * ones(1, Nx);
Cite As
Adam Wyatt (2024). Integer order radial-2D Gaussian function. (https://www.mathworks.com/matlabcentral/fileexchange/15636-integer-order-radial-2d-gaussian-function), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |