MATLAB: Matrix in special arrangment for cycler gemetry

cell arraysMATLABmatrixmatrix array

hello every one
thank you very much for helping
i have big matrix for motor geometry i want to make special arrangement to respect complete circle of motor
for example i have this small matrix
A=[11 12 13 14 15]
i want to change it to
A=[11 12 13 14 15
12 11 12 13 14
13 12 11 12 13
14 13 12 11 12
15 14 13 12 11]
thank you very much again for helping

Best Answer

>> A=[11 12 13 14 15]
A =
11 12 13 14 15
>> toeplitz(A,A)
ans =
11 12 13 14 15
12 11 12 13 14
13 12 11 12 13
14 13 12 11 12
15 14 13 12 11