Signal Processing Toolbox | Help Desk |
bartlett
Bartlett window.
w = bartlett(n)
w = bartlett(n)
returns an n
-point Bartlett window in the column vector w
. The coefficients of a Bartlett window are
For n
oddn
eventriang
function. The Bartlett window always ends with zeros at samples 1 and n
, however, while the triangular window is nonzero at those points. For n
odd, the center n-2
points of bartlett(n)
are equivalent to triang(n-2)
.