Info
この質問は閉じられています。 編集または回答するには再度開いてください。
I have 30 .dat files named composite1.dat composite2.dat... etc. After importing them into matlab I need to ensure that the data is stored column-wise in a single matrix.(The name of the .DAT file refers to the column number it should be in matrix)
1 回表示 (過去 30 日間)
古いコメントを表示
d = dir('composite*.dat');
nfiles = length(d);
X = [];
for k = 1:nfiles
X = [X importdata(d(k).name)];
end
0 件のコメント
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!