or
logical 'OR' operator, |
📝Syntax
C = or(A, B)
C = A | B
📥Input Arguments
Parameter Description
A a variable
B a variable
📤Output Arguments
Parameter Description
C result of A | B
📄Description

C = or(A, B) performs a logical OR operation.

💡Examples
A = [6 8 0; 0 3 89; 15 0 0]
B = [66 56 0; 11 33 55; -11 0 0]
C = A | B
D = or(B, A)
C == D
🔗See Also
andxorallanynot
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub