w = rectwin(L)
w = rectwin(L) returns
a rectangular window of length
L in the column
w. This function is provided
for completeness; a rectangular window is equivalent to no window
Create a 64-point rectangular window. Display the result using
L = 64; wvtool(rectwin(L))
w = ones(L,1);
 Oppenheim, Alan V., Ronald W. Schafer, and John R. Buck. Discrete-Time Signal Processing. 2nd Ed. Upper Saddle River, NJ: Prentice Hall, 1999.
Usage notes and limitations:
All inputs must be constant. Expressions or variables are allowed if their values do not change.