|Download Help (Windows Only)|
Owning Class: linalgebra
Requires: MathScript RT Module
c = circularshift(a, b)
Shifts the elements of a matrix in a circular manner.
|a||Specifies a matrix.|
|b||Describes the shift you want to perform. If b has two elements, elements in a shift downwards by the first element number of places and shift right by the second element number of places. If b has only one element, elements in a shift downwards by b number of places. b is a vector with integer values.|
|c||Returns a with the shifted elements.|
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Not characterized|
A = [1, 2; 3, 4; 6, 7]
B = [1, 1]
C = circularshift(A, B)