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 I/O and Waveform Generation 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!