Home   >   User Resources   >   Online Help   >   apaMatrix.Shift.Circular
 

 

Function index Version 3.0.0

apaMatrix.Shift.Circular(Matrix, nXDirection, nYDirection)

Excel=apaMatrix.Shift.Circular(Matrix, nXDirection, nYDirection)

Result

Shifts a matrix in the horizontal and/or vertical direction by folding (circular shift).

Syntax

Matrix: nRows x nCols matrix of data

nXDirection: number of steps in the horizontal direction

nYDirection: number of steps in the vertical direction

Remarks

nXDirection and nYDirection can be negative or positive. The sign defines the direction.