| Signal Processing Toolbox | Search  Help Desk |
| triang | See Also |
Syntax
w = triang(n)
Description
triang(n)
returns an n-point triangular window in the column vector w. The coefficients of a triangular window are
For n odd:
n even:
n, while the triangular window is nonzero at those points. For n odd, the center n-2 points of triang(n-2) are equivalent to bartlett(n).
See Also
bartlett |
Bartlett window. |
blackman |
Blackman window. |
boxcar |
Rectangular window. |
chebwin |
Chebyshev window. |
hamming |
Hamming window. |
hanning |
Hanning window. |
kaiser |
Kaiser window. |
References
[1] Oppenheim, A.V., and R.W. Schafer, Discrete-Time Signal Processing. Englewood Cliffs, NJ: Prentice-Hall, 1989.