diff options
Diffstat (limited to 'macros/circshift.sci')
-rw-r--r-- | macros/circshift.sci | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/macros/circshift.sci b/macros/circshift.sci index 3717cd3..9ca2c88 100644 --- a/macros/circshift.sci +++ b/macros/circshift.sci @@ -1,22 +1,17 @@ function R = circshift(M,d) - // Shifts array circularly - // CALLING SEQUENCES: // R = circshift(M, d) // circularly shifts by d(i) positions components of M along its #ith dimensions - // 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 - // EXAMPLES: // M = [1 2 3 4]; // circshift(M, [0 1]) - //Output : // ans = // |