From: santhosh on
Hi am a beginner to Matlab and have a problem with reshaping a matrix.

I have a matrix which is 1024*4, which is actually a compound of two data sets that are 512*4*2.

that is in short if my matrix is
1 2
3 4
5 6
7 8
9 10
11 12

I want to reshape it as
1 2 7 8
3 4 9 10
5 6 11 12

How do i do this. I bet its a simple thing for you...
Thanks for your help