Home > Support > NI Product Manuals > LabVIEW Communications System Design Suite 1.0 Manual
Version:

    Shifts the elements of an array of any dimension in a circular manner.

    Syntax

    c = circularshift(a, b)
    c = circularshift(a, b, shift)
    Legacy name: circshift

    Inputs

    a

    Scalar or array of any dimension.

    b

    Shifts you want to perform. The elements in b determine by which number of places the corresponding dimension of a is shifted. For example, the first element of b determines by which number of places a shifts downwards and the second element of b determines by which a shifts right. If you use the third parameter shift, b must be a scalar and correspond to the dimension of a.

    shift

    Dimension to be shifted. shift can be in a range of 1 to the maximum supported array dimension (32). If you use shift, b must be a scalar.

    Outputs

    c

    a with the shifted elements.