[y,fs] = audioread('song.ogg'); plot(y); x =abs(y(2100/7:23800/7)); y2 = decimate(y,2) pkg rebuild pkg list pkg load signal plot(y2(2100/7:23800/7)); x =abs(y2(2100/7:23800/7)); plot(x);
[y,fs] = audioread('song.ogg'); plot(y); x =abs(y(2100/7:23800/7)); y2 = decimate(y,2) pkg rebuild pkg list pkg load signal plot(y2(2100/7:23800/7)); x =abs(y2(2100/7:23800/7)); plot(x);