Shift array circularly
Y = circshift(A,K)
Y = circshift(A,K,dim)
Y = circshift(
circularly
shifts the elements in array A
,K
)A
by K
positions.
If K
is an integer, then circshift
shifts
along the first dimension of A
whose size does
not equal 1. If K
is a vector of integers, then
each element of K
indicates the shift amount in
the corresponding dimension of A
.
Note:
The default behavior of |