segmentation of 66s signal in 1s each

조회 수: 2(최근 30일)
Sanjeeb jung Thakuri
Sanjeeb jung Thakuri 2022년 10월 20일
답변: jibrahim 2022년 10월 20일
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);

범주

Find more on Simulation, Tuning, and Visualization in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by