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.
Syntax
R = bitor(x, y)
Inputs
- x
 - Valid values are finite, non-negative natural numbers or matrices with such elements. If both x or y are matrices, their sizes must match.
 - y
 - Valid values are finite, non-negative natural numbers or matrices with such elements. If both x or y are matrices, their sizes must match.
 
Outputs
- R
 - Type: integer | mat
 
Examples
Non-negative integer inputs:
R = bitor(1,2)
      R = 3
      R = bitor([3,2,1], 1)R = [Matrix] 1 x 3
3  3  1R = bitor([1,2,3;4,5,6;6,7,8],[2,3,4;1,2,3;5,6,7])R = [Matrix] 3 x 3
3  3   7
5  7   7
7  7  15