Integer order 1D Gaussian function

Performs a Gaussian function of any positive order.

Sie verfolgen jetzt diese Einreichung

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.

Zitieren als

Adam Wyatt (2026). Integer order 1D Gaussian function (https://de.mathworks.com/matlabcentral/fileexchange/15635-integer-order-1d-gaussian-function), MATLAB Central File Exchange. Abgerufen .

Kategorien

Mehr zu General Applications finden Sie in Help Center und MATLAB Answers

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.0.0.0