Owning Class: boolean
Requires: MathScript RT Module
c = and(a, b)
Determines whether corresponding elements of two inputs are non-zero.
|a||Specifies a scalar, vector, or matrix of Boolean values.|
|b||Specifies a scalar, vector, or matrix of Boolean values. b must be the same size as a.|
|c||Returns 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, vector, or matrix of the same size as a.|
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 = [1, 0]
B = [1, 1]
C = and(A, B)