circshift
Shifts array/matrix circularly
Calling Sequence
R = circshift(M, d)
Parameters
M , R :
vector or matrix of any data type
d :
vector of integers. d(i) is the shift to be applied to the M's components along its ith dimension.for example d = [0 n] will shift element n position along column
Description
circularly shifts by d(i) positions components of M along its ith dimensions
Example : 1