Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

circshift (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the linalgebra class.

Syntax

c = circshift(a, b)

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.

Examples

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

Related Topics

fftshift


Resources


 

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