sigwin.blackmanharris Class
Namespace: sigwin
Construct Blackman-Harris window object
Description
Note
The use of sigwin.blackmanharris
is not
recommended. Use blackmanharris
instead.
sigwin.blackmanharris
creates a handle to
a Blackman-Harris 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 symmetric Blackman-Harris
window of length N
:
The following equation defines the periodic Blackman-Harris
window of length N
:
The following table lists the coefficients:
Coefficient | Value |
---|---|
a0 | 0.35875 |
a1 | 0.48829 |
a2 | 0.14128 |
a3 | 0.01168 |
Construction
H = sigwin.blackmanharris
returns a Blackman-Harris
window object H
of length 64.
H = sigwin.blackmanharris(
returns
a Blackman-Harris window object Length
)H
of length Length
. Length
must
be 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.
Properties
|
Blackman-Harris window length. The window length requires a
positive integer. Entering a positive noninteger value for |
|
The type of window returned as one of |
Methods
generate | Generates Blackman–Harris window |
info | Display information about Blackman–Harris window object |
winwrite | Save Blackman–Harris window in ASCII file |
Copy Semantics
Handle. To learn how copy semantics affect your use of the class, see Copying Objects in the MATLAB® Programming Fundamentals documentation.
Examples
References
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.