CircularShift {rwavelet} | R Documentation |
Pixels that get shifted off one side of the image are put back on the other side.
CircularShift(matrix, colshift = 0, rowshift = 0)
matrix |
2-d signal (matrix). |
colshift |
column shift index (integer). |
rowshift |
row shift index (integer). |
result
2-d shifted signal.
A <- matrix(1:4, ncol=2, byrow=TRUE)
CircularShift(A, 0, -1)