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

    Computes the differences between the first order and higher orders of an array of any dimensions.

    Syntax

    c = difference(a)
    c = difference(a, b)
    Legacy name: diff

    Inputs

    a

    Array of any dimensions.

    b

    Order of a to compare with the first order. b is an integer.

    Outputs

    c

    Differences between the first order and the b order of a. If a is a matrix or an array of higher dimensions, c returns row-wise differences. c is a vector or matrix.