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)

 Réponse acceptée

Andrei Bobrov
Andrei Bobrov le 10 Déc 2013
Modifié(e) : Andrei Bobrov le 10 Déc 2013
circshift(A,size(A,1)/2+1)

3 commentaires

Mary Jon
Mary Jon le 10 Déc 2013
If I have matrix A 512 rows *8 column ,how can do circshift with this case?
Andrei Bobrov
Andrei Bobrov le 10 Déc 2013
corrected
corrected what?

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by