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

    Converts numeric values to Boolean values.

    Syntax

    c = logical(a)

    Inputs

    a

    Scalar or array of any dimension of integer or real values.

    Outputs

    c

    Equivalent Boolean values. MathScript converts non-zero elements to Boolean 1, or TRUE, and converts zero elements to Boolean 0, or FALSE. Complex numbers and NaN result in errors. c is a Boolean array of the same size as a.