This loop takes a long time to finish. Is there anyway I can increase the speed? Thanks
for n=0:5039name = sprintf('%d/conformability.txt', n)fid = fopen(name) ;data = textscan(fid,'%f32','HeaderLines',1) ;data = cell2mat(data)n = length(data)data = reshape(data,[10,n/10])data = transpose(data)fclose(fid);comformability(:,n)=data(:,2)data = []end
Best Answer