Scilab Function
Last update : 2/11/2005
spinup - row rotation of a
matrix
Calling Sequence
-
y = spinup(x,a)
Parameters
-
x
: input matrix
-
a
: number of rows (positive number)
-
y
: output matrix
Description
-
Each row of the matrix X is shifted by A rows to the top. The first
A rows are shifted to the back. A must be positive.
Examples
x=rand(5,3)
y=spinup(x,2)
// end of example spinup
See Also
shiftmat
,
Authors
-
Dr. Andreas Geissler geisslea@web.de