Signal Processing Toolbox
  Go to function:
    Search    Help Desk 
triang    See Also

Triangular window.

Syntax

Description

triang(n) returns an n-point triangular window in the column vector w. The coefficients of a triangular window are

For n odd:

For n even:

The triangular window is very similar to a Bartlett window. The Bartlett window always ends with zeros at samples 1 and 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.



[ Previous | Help Desk | Next ]