% This script reads in wave files, grabs the first 1200 numbers for a 1200x1 array and saves the array as a text file. MasterArray = zeros(2100,1) for x = 1:45 xname = ['P' int2str(x) '.wav']; y = wavread(xname,[51 2150]); MasterArray = [MasterArray y]; end MasterArray (1,:) = []; MasterArray (:,1) = []; OrigData = MasterArray; DataSeriesTrim %dlmwrite('MasterArray.txt',MasterArray,' ');