Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

blackmanharris

Minimum 4-term Blackman-Harris window

Syntax

w = blackmanharris(N)
w = blackmanharris(N,SFLAG)

Description

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.

Examples

collapse all

Create a 32-point symmetric Blackman-Harris window. Display the result using wvtool.

N = 32;
wvtool(blackmanharris(N))

Definitions

The equation for the symmetric 4-term Blackman-harris window of length N is

w(n)=a0a1cos(2πnN1)+a2cos(4πnN1)a3cos(6πnN1),0nN1

The equation for the periodic 4-term Blackman-harris window of length N is

w(n)=a0a1cos2πnN+a2cos4πnNa3cos6πnN,0nN1

The periodic window is N-periodic.

The following table lists the coefficients:

CoefficientValue
a00.35875
a10.48829
a20.14128
a30.01168

References

[1] 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.

Introduced before R2006a

Was this topic helpful?