Hello everyone, How can I move/shift a set of columns in an array to the right? For example I have
B= [1 3 4 5 2 4; 2 8 6 7 9 8]
and I want to get this result:
S= [1 3 2 4 5 4; 2 8 9 6 7 8].
How can I do this? thank you in advance.
shift move columns
B= [1 3 4 5 2 4; 2 8 6 7 9 8]
S= [1 3 2 4 5 4; 2 8 9 6 7 8].
Best Answer