Read different file names using wavread
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 10 Feb. 2013
Bearbeitet: Azzi Abdelmalek
am 10 Feb. 2013
for k=1:6
filename=sprintf('sound%d.wav',k)
s{k}=wavread(filename)
end
0 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Audio and Video Data finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!