segmentation of 66s signal in 1s each

2 visualizzazioni (ultimi 30 giorni)
Sanjeeb jung Thakuri
Sanjeeb jung Thakuri il 20 Ott 2022
Risposto: jibrahim il 20 Ott 2022
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?

Risposte (1)

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

Categorie

Scopri di più su Signal Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by