I have an 8 by 3 matrix like this:
A B C
1 1 1 1
2 1 1 2
3 1 2 1
4 1 2 2
5 2 1 1
6 2 1 2
7 2 2 1
8 2 2 2
I want to create a column vector from this matrix like this:
cell
111
112
121
122
211
212
221
222
This means converting all the 3 columns into a single column. How can I do this? what are the codes?