hello,
I'm using a simple nasted loop for assignment:
for i=1:Chunks %loop for number of chunks
for n=1:Window DataChunk(n,i) = Raw.RAW(idx); %for each itteration - take the right raw data into the right chunk
TimeChunk(n,i) = Raw.Time(idx); idx = idx+1; % increment the indes
endend
this loop takes forever for a very big amount of data,
anyome can please help me vectorize it ?
Best Answer