eq

Version:
Last Modified: December 12, 2016

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

Syntax

c = eq(a, b)

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.

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: DAQExpress does not support FPGA devices