Table Of Contents

and

Version:
    Last Modified: December 12, 2016

    Determines whether corresponding elements of two inputs are non-zero.

    Syntax

    c = and(a, b)

    Inputs

    a

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

    b

    Scalar or array of any dimension of integer, real, or Boolean values. If both a and b are arrays, b must be the same size as a.

    Outputs

    c

    Boolean values, where an element in c is 1 if corresponding elements of a and b are non-zero. Otherwise, the element is 0. c is a scalar or an array of the same size as a or b.

    A = [1, 0]
    B = [1, 1]
    C = and(A, B)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: DAQExpress does not support FPGA devices


    Recently Viewed Topics