matrix column vectors, and its elements?

4 views (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)

Tags

Products

Community Treasure Hunt

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

Start Hunting!