Table Of Contents

eq

Version:
    Last Modified: March 15, 2017

    Determines whether corresponding elements of two arrays are equal. eq(a, b) is equivalent to a==b.

    Syntax

    c = eq(a, b)

    Inputs

    a

    Scalar or array of any dimension.

    b

    Scalar or array of any dimension. b is the same size as a unless a or b is a scalar.

    Outputs

    c

    Array of Boolean values. An element in c is 1 if corresponding elements of a and b are equal. Otherwise, the element is 0. c is an array of the same size as the larger of a and b.

    A = [134, 32, 232]
    B = [453, 32, 134]
    C = eq(A, B)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics