Read different file names using wavread
1 回表示 (過去 30 日間)
古いコメントを表示
Hello all
i have a problem about how to read many files using wavread.
i confused about how to read different name using single line code.
for eg:
i have files:
sound1
sound2
sound3
sound4
sound5
if 1 sound file have dimension 10000x1, so i have 10000x5.
how to read and save into new matrix name with that conditon.
thanks before
regards
Ikra
0 件のコメント
採用された回答
Azzi Abdelmalek
2013 年 2 月 10 日
編集済み: Azzi Abdelmalek
2013 年 2 月 10 日
for k=1:6
filename=sprintf('sound%d.wav',k)
s{k}=wavread(filename)
end
0 件のコメント
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Audio and Video Data についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!