|Download Help (Windows Only)|
Owning Class: bitwise
Requires: MathScript RT Module
c = bitand(a, b)
Computes the bitwise and of corresponding elements of two input matrices. For example, if a = 5 (101) and b = 9 (1001), bitand(a, b) = bitand(5, 9) = 1 (0001).
|a||Specifies a scalar, vector, or matrix of positive integers. All elements of a must be less than maxfloatint.|
|b||Specifies a scalar, vector, or matrix of positive integers. b must be the same size as a. All elements of b must be less than maxfloatint.|
|c||Returns the bitwise and of a and b. c is a matrix of the same size as 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, 45, 232]
B = [453, 32, 134]
C = bitand(A, B)