Importing 30 .dat files in order

 Accepted Answer

for k=1:30
data=load(['composite' num2str(k) '.dat]);
data_matrix(:,k)=data;
end

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!