for p = -10:10 filename = strcat('meanfile',num2str(p),'.txt'); line{p+11}=dlmread(filename,'\t',0,0) ; end
for p = 1:21A = cell2mat(line);end
for i = 1:21 strcat('line',num2str(i)) = A(1:end,(1:25)*i)end
matrix
for p = -10:10 filename = strcat('meanfile',num2str(p),'.txt'); line{p+11}=dlmread(filename,'\t',0,0) ; end
for p = 1:21A = cell2mat(line);end
for i = 1:21 strcat('line',num2str(i)) = A(1:end,(1:25)*i)end
Best Answer