segmentation of 66s signal in 1s each

조회 수: 1 (최근 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);

카테고리

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