I have the code below which reads in the data to log200. The thing is, I also need to read in other data too.
I need log200, log225, log250, in increments of 25 up to log900
How can I take my current working script which reads in log200, and replace it with a loop so that I do not have to copy and paste dozens of times?
clearclclastn=1;log200=importdata('C:/Users/Ben/Desktop/log.200_equil', ' ', 20, 0);log200_cell = log200.data(:,6);log200_cell = log200_cell(1:end-lastn,:);log200_density_average=mean(log200_cell)
Best Answer