| Signal Processing Toolbox | ![]() |
Syntax
w=blackman(n) w=blackman(n,'sflag')
Description
w = blackman(n)
returns the n-point symmetric Blackman window in the column vector w, where n is a positive integer.
w = blackman(n,' returns an sflag')
n-point Blackman window using the window sampling specified by 'sflag', which can be either 'periodic' or 'symmetric' (the default). When 'periodic' is specified, blackman computes a length n+1 window and returns the first n points.
Algorithm
The equation for computing the coefficients of a Blackman window is
Blackman windows have slightly wider central lobes and less sideband leakage than equivalent length Hamming and Hann windows.
Examples
w = blackman(64);
plot(w)
title('Blackman Window')
See Also
|
Compute a Bartlett window. |
|
Compute a rectangular window. |
|
Compute a Chebyshev window. |
|
Compute a Hamming window. |
|
Compute a Hann window. |
|
Compute a Kaiser window. |
|
Compute a triangular window. |
References
[1] Oppenheim, A.V., and R.W. Schafer. Discrete-Time Signal Processing. Englewood Cliffs, NJ: Prentice-Hall, 1989, pp. 447-448.
| bilinear | boxcar | ![]() |