normalized Gaussian function

Syntax

y = func.gaussfwhm(x,p)

Description

y = func.gaussfwhm(x,p) calculates the values for a Gaussian function evaluated at and with parameters defined in p.

Input Arguments

x
Coordinate vector where the function will be evaluated.
p
Parameter vector with the following elements p=[I x0 FWHM] where:
  • I integrated intensity,
  • x0 center,
  • FWHM Full Width at Half Maximum value.

See Also

swfunc.pvoigt | swfunc.gauss