MATLAB: How can i apply a rectangular window on the signal (eeg)?

rectangular window

Hi! I'm trying to apply a sliding rectangylar window on my signal (x) to detect any periodic patterns. The length of the window must be 512 with overlap 511. How can i do that?

Best Answer

The spectrogram function will do what youwant.
Related Question