| Contents | Index |
w = blackmanharris(N)
w = blackmanharris(N,SFLAG)
w = blackmanharris(N) returns an N-point symmetric 4-term Blackman-Harris window in the column vector w. The window is minimum in the sense that its maximum sidelobes are minimized.
w = blackmanharris(N,SFLAG) uses SFLAG window sampling. SFLAG can be 'symmetric' or 'periodic'. The default is 'symmetric'. You can find the equations defining the symmetric and periodic windows in Definitions.
Create a 32-point symmetric Blackman-Harris window and display the result using WVTool:
N = 32; wvtool(blackmanharris(N))

The equation for the symmetric 4-term Blackman-harris window of length N is
![]()
The equation for the periodic 4-term Blackman-harris window of length N is
![]()
The periodic window is N-periodic.
The following table lists the coefficients:
| Coefficient | Value |
|---|---|
| a0 | 0.35875 |
| a1 | 0.48829 |
| a2 | 0.14128 |
| a3 | 0.01168 |
[1] Harris, F. J. "On the Use of Windows for Harmonic Analysis with the Discrete Fourier Transform." Proceedings of the IEEE. Vol. 66 (January 1978). pp. 51-84.
barthannwin | bartlett | bohmanwin | nuttallwin | parzenwin | rectwin | triang | window | wintool | wvtool

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