I currently have 180 matrix variables (1336 x 4) that I would like to make into a structure to make it easier to work with. In the end I want to be able to plot all of this data in the same way on separate plots or subplots.
What is the best way to combine the matrices? I am able to create a structure using 'whos' and then add on a 'data' field of zeros to put the final data in but how would I transcribe all of the variable data into the structure? The variables are not concurrently named so I am struggling to get a for loop to work.
Best Answer