Borrar filtros
Borrar filtros

I have about 300 short wav files, which have to be load into MATLAB. I am not able to find any information on how to load all the wav files into Matlab for further processing plz help.

1 visualización (últimos 30 días)
I know how to load individal file wav file in matlab,but i want to load complete database.

Respuestas (1)

KALYAN ACHARJYA
KALYAN ACHARJYA el 25 de Mzo. de 2019
% Ensure that all wav files in current directory and file names in proper sequence
wavefiles=dir('*.wav');
for i=1:length(wavefiles)
filename=wavefiles(i).name;
waveFile{i}=audioread(filename);
%Do operartion
end
  2 comentarios
kc
kc el 1 de Abr. de 2019
thanks ,actually i have a mixed data set of about 500 files.I need to process them according to a perticular coding in the name of files itself.Let me see if this is useful,Thanks again.

Iniciar sesión para comentar.

Categorías

Más información sobre Signal Processing Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by