Signal Toolkit - triang


Function File: triang (m)

Return the filter coefficients of a triangular window of length m. Unlike the Bartlett window, triang does not go to zero at the edges of the window. For odd m, triang (m) is equal to bartlett (m + 2) except for the zeros at the edges of the window.

See also: bartlett.