Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

circularshift (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: linalgebra

Requires: MathScript RT Module


c = circularshift(a, b)

Legacy Name: circshift


Shifts the elements of a matrix in a circular manner.



Name Description
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.


Name Description
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)

Related Topics



 Was this document helpful?  submit
  Helpful Not Helpful