w = bohmanwin(L)
w = bohmanwin(L) returns
L-point Bohman window in column vector
A Bohman window is the convolution of two half-duration cosine lobes.
In the time domain, it is the product of a triangular window and a
single cycle of a cosine with a term added to set the first derivative
to zero at the boundary. Bohman windows fall off as 1/w4.
Compute a 64-point Bohman window. Display the result using
L = 64; bw = bohmanwin(L); wvtool(bw)
The equation for computing the coefficients of a Bohman window is
where x is a length-L vector
of linearly spaced values generated using
The first and last elements of the Bohman window are forced to be
 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.
Usage notes and limitations:
Window length must be a constant. Expressions or variables are allowed if their values do not change.