I need some help using Matlab
I'm trying to put some filenames in an array and then use the array with the filenames in a loop to do something with each of the files. For example:
filenames = {'jonathan1.wav';'jonathan2.wav';'jonathan3.wav'}
[x,fs]=wavread(filenames(1));
But it's not working. Anyone know how to do what I'm talking about?
filenames = {'jonathan1.wav';'jonathan2.wav';'jonathan3.wav'}
[x,fs]=wavread(filenames(1));
But it's not working. Anyone know how to do what I'm talking about?
