Mercurial > hg > octave-nkf
comparison scripts/general/shift.m @ 3369:f37ca3017116
[project @ 1999-11-21 16:26:02 by jwe]
author | jwe |
---|---|
date | Sun, 21 Nov 1999 16:26:08 +0000 |
parents | 7d80b56e0dc8 |
children | f8dde1807dee |
comparison
equal
deleted
inserted
replaced
3368:a4cd1e9d9962 | 3369:f37ca3017116 |
---|---|
12 ## | 12 ## |
13 ## You should have received a copy of the GNU General Public License | 13 ## You should have received a copy of the GNU General Public License |
14 ## along with this file. If not, write to the Free Software Foundation, | 14 ## along with this file. If not, write to the Free Software Foundation, |
15 ## 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 15 ## 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
16 | 16 |
17 ## usage: y = shift (x, b) | 17 ## -*- texinfo -*- |
18 ## | 18 ## @deftypefn {Function File} {} shift (@var{x}, @var{b}) |
19 ## If x is a vector, perform a circular shift of length b of the | 19 ## If @var{x} is a vector, perform a circular shift of length @var{b} of |
20 ## elements of x. | 20 ## the elements of @var{x}. |
21 ## | 21 ## |
22 ## If x is a matrix, do the same for each column of x. | 22 ## If @var{x} is a matrix, do the same for each column of @var{x}. |
23 ## @end deftypefn | |
23 | 24 |
24 ## Author: AW <Andreas.Weingessel@ci.tuwien.ac.at> | 25 ## Author: AW <Andreas.Weingessel@ci.tuwien.ac.at> |
25 ## Created: 14 September 1994 | 26 ## Created: 14 September 1994 |
26 ## Adapted-By: jwe | 27 ## Adapted-By: jwe |
27 | 28 |