How can i apply a rectangular window on my signal (eeg)??

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?

 Accepted Answer

The spectrogram function will do what youwant.

2 Comments

My pleasure!
Been there, done that myself a while back.

Sign in to comment.

More Answers (0)

Categories

Find more on Signal Processing Toolbox in Help Center and File Exchange

Asked:

on 28 May 2014

Commented:

on 28 May 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!