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

    Returns the sign of the input elements.

    Syntax

    c = sign(a)

    Inputs

    a

    Numeric scalar or numeric array of any dimension.

    Outputs

    c

    Sign of the elements in a. c is an array of the same size as a and, for real a, can return the following values: +1, 0, or -1. The sign of 0 is 0. If the input is not numeric, the output is of double type.