help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

splitting arrays then exporting them to file


From: Rick T
Subject: splitting arrays then exporting them to file
Date: Fri, 7 Oct 2011 05:53:14 -1000

Greetings All

I'm trying to split arrays into 500 rows then export those 500 rows out as files 
I was going to create an array that stored the index of 500 rows example (1,500,1000,1500) then call that array as the index but it seems the wrong way / convoluted way to do things any suggestions

clear all
t = rand(15679,1);
chunkidx=1;
for ii=1:500:length(t),  %build array of desired ranges 
    chunkidx(end+1,:)=ii-1;  %minus 1 to get correct array index in cell
end;
--

Thanks
Rick

reply via email to

[Prev in Thread] Current Thread [Next in Thread]