R = circshift(M, N)
R = circshift(M, N, DIM)
| Parameter | Description |
|---|---|
| M | a variable |
| N | shift |
| DIM | dimension to operate |
| Parameter | Description |
|---|---|
| R | result of 'circshift'. |
circshift computes circular shift.
x = [10, 20, 30; 40, 50, 60; 70, 80, 90];
circshift (x, 1
circshift (x, -2))
| Version | Description |
|---|---|
| 1.0.0 | initial version |