Hi all,
I have a bunch of .txt data that's organized into 3 runs (meaning I have 3 text files) in a folder. As such, each text file is named differently. However, the content of each text file contains the same 9 headers, but the data for each of those 9 columns obviously differs depending on every run (meaning depending on each text file).
What I want to do is take only the data from columns 7 and 8 for EVERY TEXT FILE, and place all of the data from column 7 and column 8 into new variables called "Blue1" and "Blue2", and write this into a new text file.
The issue is when I read the data from the new columns, how do I tell at which point the data for Run1 ends and Run 2 begins? Is there a way to add variable names (row labels) to the data, aside from adding the new column variables as well?
Any help would be appreciated, still new to MatLab.
Thanks