Logical Commands bitand Executes bitwise AND operation on the inputs, x and y. x and y must be finite, non-negative natural numbers or matrices with such elements. If either x or y are matrices, the result, R, will also be a matrix. If both x or y are matrices, their sizes must match. bitor Executes bitwise OR operation on the inputs, x and y. x and y must be finite, non-negative natural numbers or matrices with such elements. If either x or y are matrices, the result, R, will also be a matrix. If both x or y are matrices, their sizes must match. bitxor Executes bitwise XOR operation on the inputs, x and y. x and y must be finite, non-negative natural numbers or matrices with such elements. If either x or y are matrices, the result, R, will also be a matrix. If both x or y are matrices, their sizes must match.