Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Gaussian window

`w = gausswin(L)`

`w = gausswin(L,alpha)`

The coefficients of a Gaussian window are computed from the following equation:

$$w(n)={e}^{-\frac{1}{2}{\left(\alpha \frac{n}{(L-1)/2}\right)}^{2}}={e}^{-{n}^{2}/2{\sigma}^{2}},$$

where
–(*L* – 1)/2 ≤ *n* ≤ (*L* – 1)/2,
and *α* is inversely proportional to the standard deviation,
*σ*, of a Gaussian random variable. The exact correspondence with the
standard deviation of a Gaussian probability density function is *σ* = (*L* – 1)/(2*α*).

[1] Oppenheim, Alan V., Ronald W.
Schafer, and John R. Buck. *Discrete-Time Signal Processing*. Upper
Saddle River, NJ: Prentice Hall, 1999, pp. 468–471.

[2] Hansen, Eric W.,*Fourier
Transforms: Principles and Applications.* New York, John Wiley & Sons,
2014.