Create a 200-point triangular window. Display the result using
L = 200; w = triang(L); wvtool(w)
L— Window length
Window length, specified as a positive integer.
w— Triangular window
Triangular window, returned as a column vector.
The coefficients of a triangular window are:
For L odd:
For L even:
 Oppenheim, Alan V., Ronald W. Schafer, and John R. Buck. Discrete-Time Signal Processing. Upper Saddle River, NJ: Prentice Hall, 1999.