Mercurial > octave-nkf
comparison scripts/general/circshift.m @ 5642:2618a0750ae6
[project @ 2006-03-06 21:26:48 by jwe]
author | jwe |
---|---|
date | Mon, 06 Mar 2006 21:26:54 +0000 |
parents | 4c8a2e4e0717 |
children | 34f96dd5441b |
comparison
equal
deleted
inserted
replaced
5641:eb998631a4aa | 5642:2618a0750ae6 |
---|---|
41 ## @result{} 3, 1, 2 | 41 ## @result{} 3, 1, 2 |
42 ## 6, 4, 5 | 42 ## 6, 4, 5 |
43 ## 9, 7, 8 | 43 ## 9, 7, 8 |
44 ## @end group | 44 ## @end group |
45 ## @end example | 45 ## @end example |
46 ## @seealso {permute, ipermute, shiftdim} | |
46 ## @end deftypefn | 47 ## @end deftypefn |
47 ## | |
48 ## @seealso {permute, ipermute, shiftdim} | |
49 | 48 |
50 function y = circshift (x, n) | 49 function y = circshift (x, n) |
51 | 50 |
52 if (nargin == 2) | 51 if (nargin == 2) |
53 nd = ndims (x); | 52 nd = ndims (x); |