Construct Parzen window object
sigwin.parzenwin creates a handle to a Parzen window object for use in spectral analysis and FIR filtering by the window method. Object methods enable workspace import and ASCII file export of the window values.
The following equation defines the N–point Parzen window over the interval :
H = sigwin.parzenwin returns a Parzen window object H of length 64.
H = sigwin.parzenwin(Length) returns a Parzen window object H of length Length. Length requires a positive integer. Entering a positive noninteger value for Length rounds the length to the nearest integer. Entering a 1 for Length results in a window with a single value of 1.
Length requires a positive integer. Entering a positive noninteger value for Length rounds the length to the nearest integer. Entering a 1 for Length results in a window with a single value of 1.
|generate||Generate Parzen window|
|info||Display information about Parzen window object|
|winwrite||Save Parzen window in ASCII file|
Handle. To learn how copy semantics affect your use of the class, see Copying Objects in the MATLAB® Programming Fundamentals documentation.
Default length N=64 Parzen window:
Generate length N=128 Parzen window object, return values, and write ASCII file:
H=sigwin.parzenwin(128); % Return window with generate win=generate(H); % Write ascii file in current directory % with window values winwrite(H,'parzenwin_128')
Harris, F.J. "On the Use of Windows for Harmonic Analysis with the Discrete Fourier Transform." Proceedings of the IEEE®, Vol. 66. 1978, pp. 51–83.