Hi All,
Ive tried importing my data via this code;
Spill = importdata('Spill.txt');T = Spill(:,1);C = Spill(:,2);plot(T,C)xlabel('Time / Days');ylabel('Concentration / ppb')
but it doesn't work as it says "Index exceeds matrix dimensions.". It needs to be inputted by code and not just the import button. Can someone help? Ive attached the .txt file
Best Answer