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);
引用格式
Adam Wyatt (2026). Integer order radial-2D Gaussian function. (https://ww2.mathworks.cn/matlabcentral/fileexchange/15636-integer-order-radial-2d-gaussian-function), MATLAB Central File Exchange. 检索时间: .
| 版本 | 已发布 | 发行说明 | Action |
|---|---|---|---|
| 1.0.0.0 |
