Signal Processing Toolbox | Help Desk |
triang
Triangular window.
w = triang(n)
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)
.