MATLAB: How to reshape this matrix

reshape

A = [ 1 2 3 4 5 6 7 8 9 10; 11 12 13 14 15 16 17 18 19 20;]
I want reshape to
1 2;
3 4;
5 6;
7 8;
.
.
.
19 20;
thank you sir.

Best Answer

result = reshape(A.',2,[]).'