parzenwin

Parzen (de la Vallée Poussin) window

Syntax

w = parzenwin(L)

Description

w = parzenwin(L) returns the L-point Parzen (de la Vallée Poussin) window in a column vector, w. Parzen windows are piecewise-cubic approximations of Gaussian windows. Parzen window sidelobes fall off as 1/ω4. See Algorithms for the equation that defines the Parzen window.

Examples

collapse all

Compare 64-point Parzen and Gaussian windows. Display the result using wvtool.

gw = gausswin(64);
pw = parzenwin(64);
wvtool(gw,pw)

Algorithms

The following equation defines the N–point Parzen window over the interval (N1)2n(N1)2:

w(n)={16(|n|N/2)2+6(|n|N/2)30|n|(N1)/42(1|n|N/2)3(N1)/4<|n|(N1)/2

References

[1] harris, fredric j. "On the Use of Windows for Harmonic Analysis with the Discrete Fourier Transform." Proceedings of the IEEE®. Vol. 66, January 1978, pp. 51–83.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Introduced before R2006a