Matlab question

CanOWorms

Lifer
Jul 3, 2001
12,404
2
0
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?
 

BornStar

Diamond Member
Oct 30, 2001
4,052
1
0
Sorry, I haven't used Matlab in over a year and half. I don't think I know what you're talking about anyway. :)