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

    Computes the remainder of the input elements.

    Syntax

    c = rem(a, b)

    Inputs

    a

    Dividend. a is a non-complex scalar or array of any dimension. If b is an array, a can be a scalar.

    b

    Divisor. b is a non-complex scalar or non-complex array of the same dimension as a. If a is an array, b can be a scalar.

    Outputs

    c

    Remainder of a divided by b. c has the same sign as a. c is an array of the same as the larger of a and b. The output data type is the smaller data type of the two inputs. For example, if one input is double precision and the other input is single precision floating point number, the output is a single precision floating point number.