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);

カテゴリ

Help Center および File ExchangeSignal Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by