matrix column vectors, and its elements?

1 view (last 30 days)
IF I have this column vectors,as example
A=[0;1;2;3;4;5;6;7;8;9;10];
how can rearrangement its like thas,
A=[5;6;7;8;9;10;0;1;2;3;4] to plot its again?
but my column vectors have length(32)with zero pading become(512)

Accepted Answer

Andrei Bobrov
Andrei Bobrov on 10 Dec 2013
Edited: Andrei Bobrov on 10 Dec 2013
circshift(A,size(A,1)/2+1)

More Answers (0)

Categories

Find more on Resizing and Reshaping Matrices in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!