example: let
a=[1 2 3 4 5]
i want output like
b=[ 1 2 3 4 5; 5 1 2 3 4; 4 5 1 2 3; 3 4 5 1 2; 2 3 4 5 1]
please help me
circulantcirculant matrixcircular shift
a=[1 2 3 4 5]
b=[ 1 2 3 4 5; 5 1 2 3 4; 4 5 1 2 3; 3 4 5 1 2; 2 3 4 5 1]
Best Answer