Commit b526d98f authored by Vinothini Selvaraju's avatar Vinothini Selvaraju
Browse files

Sliding window technique

parent 0f0cd4c9
function signal = overlap_window_signal(x,fs,window_length,overlap_length)
% Extract the signal with overlapping window
Nw = window_length*fs; % window length (60 sec*10 fps)
Nh = overlap_length*fs; % 10 sec shift (10 frames per sec)
signal = buffer(x,Nw,Nw-Nh,'nodelay'); % face signal
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment