I have a dataset that includes all data in 1 column. However a new sub-dataset occurs every n rows. Using MATLAB, I need to grab each of these sub-datasets and place in a separate sequential column. For example, this:
Column 1
1
3
2
1
3
2
1
3
2
into this:
Column 1 | Column 2 | Column 3 | ...
1 1 1
3 3 3
2 2 2