Thread
:
Rearranging vectors Matlab
View Single Post
diggy
#
6
Sep20-10, 01:07 PM
P: 124
I like pythag's answer better, but something like this would work.
A=[1,2,3,4,5,6]
B=reshape(A,[3,2])
C=reshape(B',[1,6])
Probably other ways of doing it using the reshapes and row/column swaps, etc.