gausswin - Gaussian window

Syntax

w = gausswin(L)
w = gausswin(L,α)

Description

w = gausswin(L) returns an L-point Gaussian window in the column vector w. L is a positive integer. The coefficients of a Gaussian window are computed from the following equation.

where , and the window length is

w = gausswin(L,α) returns an L-point Gaussian window where α is the reciprocal of the standard deviation. The width of the window is inversely related to the value of α; a larger value of α produces a more narrow window. If α is omitted, it defaults to 2.5.

Examples

Create a 64-point Gaussian window and display the result in WVTool:

L=64;
wvtool(gausswin(L))

References

[1] Harris, F.J. "On the Use of Windows for Harmonic Analysis with the Discrete Fourier Transform." Proceedings of the IEEE®. Vol. 66, No. 1 (January 1978).

[2] Roberts, Richard A., and C.T. Mullis. Digital Signal Processing. Reading, MA: Addison-Wesley, 1987, pp. 135-136.

See Also

chebwin, kaiser, tukeywin, window, wintool, wvtool

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS