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

    Computes the FFT shift spectrum.

    Syntax

    c = fftshift(a)
    c = fftshift(a, b)

    Inputs

    a

    Vector or array of any dimension.

    b

    Dimension for swapping. b is an integer. If you do not specify b, the function swaps each dimension sequentially.

    Outputs

    c

    Shifted version of a. If a is a vector, fftshift(a) swaps the left and right parts of a. If a is a matrix, c = fftshift(a) swaps quadrants 1 and 3 and quadrants 2 and 4. . If a is a vector, c = fftshift(a) swaps each dimension sequentially. c is a vector or array of any dimension.