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)

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!