| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Signal Processing Toolbox |
| Contents | Index |
| Learn more about Signal Processing Toolbox |
w = barthannwin(L)
w = barthannwin(L) returns an L-point modified Bartlett-Hann window in the column vector w. Like Bartlett, Hann, and Hamming windows, this window has a mainlobe at the origin and asymptotically decaying sidelobes on both sides. It is a linear combination of weighted Bartlett and Hann windows with near sidelobes lower than both Bartlett and Hann and with far sidelobes lower than both Bartlett and Hamming windows. The mainlobe width of the modified Bartlett-Hann window is not increased relative to either Bartlett or Hann window mainlobes.
Create a 64-point Bartlett-Hann window and display the result using WVTool:
L=64; wvtool(barthannwin(L))

The equation for computing the coefficients of a Modified Bartlett-Hanning window is
![]()
where
and the window length is
.
[1] Ha, Y.H., and J.A. Pearce. "A New Window and Comparison to Standard Windows." IEEE® Transactions on Acoustics, Speech, and Signal Processing. Vol. 37, No. 2, (February 1999). pp. 298-301.
[2] Oppenheim, A.V., and R.W. Schafer. Discrete-Time Signal Processing. Upper Saddle River, NJ: Prentice-Hall, 1999, p. 468.
bartlett, blackmanharris, bohmanwin, nuttallwin, parzenwin, rectwin, triang, window, wintool, wvtool
![]() | aryule | bartlett | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |