sigwin.barthannwin Class
Namespace: sigwin
Construct modified Bartlett-Hann window object
Description
Note
The use of sigwin.barthannwin
is not recommended.
Use barthannwin
instead.
sigwin.barthannwin
creates a handle to a
modified Bartlett-Hann 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 a modified Bartlett-Hann window
of length N
:
where x
is an N
-point
linearly spaced vector over the interval [1/2, 1/2].
Construction
H = sigwin.barthannwin
returns a modified
Bartlett-Hann window object H
of length 64.
H = sigwin.barthannwin(
returns
a modified Bartlett-Hann window object Length
)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.
Properties
|
Modified Bartlett-Hann window length. The window length requires
a positive integer. Entering a positive noninteger value for |
Methods
generate | Generates modified Bartlett-Hann window |
info | Display information about modified Bartlett-Hann window object |
winwrite | Save modified Bartlett-Hann window object values 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
Yeong, H. H., and Pearce, J. A. “A New Window and Comparison to Standard Windows.” IEEE® Transactions on Acoustics, Speech and Signal Processing, Vol. 37, 1989, pp. 298–301.