matrix column vectors, and its elements?

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)

 Risposta accettata

Andrei Bobrov
Andrei Bobrov il 10 Dic 2013
Modificato: Andrei Bobrov il 10 Dic 2013
circshift(A,size(A,1)/2+1)

3 Commenti

If I have matrix A 512 rows *8 column ,how can do circshift with this case?
corrected

Accedi per commentare.

Più risposte (0)

Prodotti

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by