Hello,
I'd like to turn matrix A into matrix B.
A =
1 2 3
4 5 6
7 8 9
10 11 12
B =
1 2 3 4
5 6 7 8
9 10 11 12
Unfortunately, I can't seem to get reshape() to work as it preserves the column order instead of the row order.
Maybe there's some combination of reshape + transpose that I haven't tried yet. Any suggestions would be appreciated.
Thank You!
Best Answer