segmentation of 66s signal in 1s each

1 次查看(过去 30 天)
I have audio signal of 66seconds and want to segment it into 1second each with for loop. what can I do to segment a audiosignal into equal parts?

回答(1 个)

jibrahim
jibrahim 2022-10-20
The buffer function can do this for you:
fs = 16e3;
x = randn(66*fs,1);
y = buffer(x,fs);

类别

Help CenterFile Exchange 中查找有关 Signal Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by