Owning Class: comparison
Requires: MathScript RT Module
c = eq(a, b)
Determines whether corresponding elements of two matrices are equal. eq(a, b) is equivalent to a==b.
|a||Specifies a scalar, vector, or matrix.|
|b||Specifies a scalar, vector, or matrix. b is the same size as a unless a or b is a scalar.|
|c||Returns a matrix 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 a matrix of the same size as the larger of a and b.|
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Not characterized|
A = [134, 32, 232]
B = [453, 32, 134]
C = eq(A, B)