Skip to Main Content Skip to Search
Product Documentation

gausswin - Gaussian window

Syntax

w=gausswin(N)
w=gausswin(N,Alpha)

Description

w = gausswin(N) returns an N-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 α is inversely proportional to the standard deviation of a Gaussian random variable.

w = gausswin(N,Alpha) returns an N-point Gaussian window where Alpha is proportional to 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

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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