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