circshift

Matlab Functions List


  • Y = circshift(A,K) circularly shifts the elements in array 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
  • Y = circshift(A,K,dim) circularly shifts the values in array A by K positions along dimension dim
    • K and dim must be scalars