This works, but is it possible to optimize this code:
fseek(fid,4,'bof');
A =(fread(fid,[4,4],'*uint8',0,'n')).';
p=4;
for i= 1:100
p=p+20;
fseek(fid,p,'bof');
temp = (fread(fid,[4,4],'*uint8',0,'n')).';
A = cat(3,temp, A);
end
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!