Main Content

parzenwin

Parzen (de la Vallée Poussin) window

Description

example

w= parzenwin(L)returns theL-point Parzen (de la Vallée Poussin) window.

Examples

collapse all

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

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

Figure Window Visualization Tool contains 2 axes objects and other objects of type uimenu, uitoolbar, uipanel. Axes object 1 with title Time domain contains 2 objects of type line. Axes object 2 with title Frequency domain contains 2 objects of type line.

Input Arguments

collapse all

Window length, specified as a real positive scalar.

Data Types:single|double|int8|int16|int32|int64|uint8|uint16|uint32|uint64

Output Arguments

collapse all

Parzen window, returned as a column vector of lengthL. For the equation that defines the Parzen window, seeAlgorithms.

Algorithms

Parzen windows are piecewise-cubic approximations of Gaussian windows. Parzen window sidelobes fall off as1/ω4.

This equation defines theN–point Parzen window over the interval ( N 1 ) 2 n ( N 1 ) 2 :

w ( n ) = { 1 6 ( | n | N / 2 ) 2 + 6 ( | n | N / 2 ) 3 0 | n | ( N 1 ) / 4 2 ( 1 | n | N / 2 ) 3 ( N 1 ) / 4 < | n | ( N 1 ) / 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™.

版本嗨story

Introduced before R2006a