Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

rectwin

Rectangular window

Syntax

w = rectwin(L)

Description

w = rectwin(L) returns a rectangular window of length L in the column vector w. This function is provided for completeness; a rectangular window is equivalent to no window at all.

Examples

collapse all

Create a 64-point rectangular window. Display the result using wvtool.

L = 64;
wvtool(rectwin(L))

More About

collapse all

Algorithms

w = ones(L,1);

References

[1] Oppenheim, Alan V., Ronald W. Schafer, and John R. Buck. Discrete-Time Signal Processing. 2nd Ed. Upper Saddle River, NJ: Prentice Hall, 1999.

Introduced before R2006a

Was this topic helpful?