Anyone a whizz with MATLAB?

Associate
Joined
19 Dec 2010
Posts
564
Location
The south
I have 1400 odd arrays inside a cell that i would like to write as .wav files. All are -1 < y < 1. I have an accompanying array of the values that I would like to name these .wav files, stored as doubles.

What is the easiest way for me to append '.wav' to the end of each element in the name array such that I can set up a loop to write each wav file?

Thanks
 
Without knowing much about MATLAB (although I do know what it is) the pseudo code would just be something like:

set index = 0
for each element in array
element = secondArray[index].value.toString() + ".wav"
index = index + 1
next

Or are you fine with the logic, just don't know how to write it?
 
Back
Top Bottom