Package window provides window functions for digital signal processing.
Apply applies the window windowFunction to x.
Bartlett returns an L-point Bartlett window. Reference: http://www.mathworks.com/help/signal/ref/bartlett.html
Hamming returns an L-point symmetric Hamming window. Reference: http://www.mathworks.com/help/signal/ref/hamming.html
Hann returns an L-point Hann window. Reference: http://www.mathworks.com/help/signal/ref/hann.html
Rectangular returns an L-point rectangular window (all values are 1).