Signal Processing Toolbox Help Desk

bartlett

Purpose

Bartlett window.

Syntax

Description

w = bartlett(n) returns an n-point Bartlett window in the column vector w. The coefficients of a Bartlett window are

For n odd

For n even

The Bartlett window is very similar to a triangular window as returned by the triang 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).

See Also

blackman

Blackman window.

boxcar

Rectangular window.

chebwin

Chebyshev window.

hamming

Hamming window.

hanning

Hanning window.

kaiser

Kaiser window.

triang

Triangular window.



[ Previous | Help Desk | Next ]