Signal Processing Toolbox Help Desk

triang

Purpose

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.



[ Previous | Help Desk | Next ]