各位大佬怎么批量读取txt文件,并生成二维矩阵
比如你需要第6列
s = []; for i = 1:1:n T = readtable('a', num2str(i),'.txt'); s = [s, T{:,6}]; end
s就是你需要的