MATLAB: Matrix row and cloumn exchange

MATLABmatrixmatrix manipulation

a=[14 13 9 10
6 5 1 2]
i m trying to convert it into
b=[ 14 13
9 10
6 5
1 2]

Best Answer

Alina, use
b = reshape(a',2,4)'
Related Question