Construct Bohman window object
The use of
sigwin.bohmanwin creates a handle to a Bohman
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 Bohman window of length
x is a length
of linearly spaced values generated using
The first and last elements of the Bohman window are forced to be
H = sigwin.bohmanwin returns a Bohman window
H of length 64.
H = sigwin.bohmanwin( returns
a Bohman window object
H of length
a positive integer. Entering a positive noninteger value for
the length to the nearest integer. Entering a 1 for
in a window with a single value of 1.
Bohman window length. Must be a positive integer. Entering a
positive noninteger value for
|generate||Generates Bohman window|
|info||Display information about Bohman window object|
|winwrite||Save Bohman window object values in ASCII file|
Handle. To learn how copy semantics affect your use of the class, see Copying Objects (MATLAB) in the MATLAB® Programming Fundamentals documentation.
Generate a Bohman window of length N = 16. Return its values as a column vector. Write the coefficients to an ASCII file in the current directory. Show information about the window object. Display the window.
H = sigwin.bohmanwin(16); win = generate(H)
win = 0 0.0077 0.0581 0.1791 0.3723 0.6090 0.8343 0.9791 0.9791 0.8343
winwrite(H,'bohmanwin_16'); wininfo = info(H)
wininfo = 3×13 char array 'Bohman Window' '-------------' 'Length : 16 '
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.