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

    Computes the modulo of the input elements.

    Syntax

    c = mod(a, b)

    Inputs

    a

    Dividend. a is a non-complex scalar or non-complex array of any dimension.

    b

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

    Outputs

    c

    Modulo of a and b. c has the same sign as b. c is a matrix of the same size 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.