bitor
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
Bit-wise OR
C = bitor(A, B)
C = bitor(A, B, assumedtype)
A - a variable: double, logical, integer
B - a variable: double, logical, integer
assumedtype - 'int64', 'int32', 'int16', 'int8', 'uint64', 'uint32', 'uint16' or 'uint8'.
C - Bit-wise OR result
C = bitor(A, B) returns the bit-wise OR of A and B.
A = uint16([0 1; 0 1]);
B = uint16([0 0; 1 1]);
R = bitor(A, B)
1.0.0
initial version
Allan CORNET