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

Syntax

c = circularshift(a, b)

Legacy Name: circshift

Description

Shifts the elements of a matrix in a circular manner.

Examples

Inputs

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.

Outputs

Name Description
c Returns a with the shifted elements.

Details

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

Examples

A = [1, 2; 3, 4; 6, 7]
B = [1, 1]
C = circularshift(A, B)

Related Topics

fftshift


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit