or
Element-wise logical OR (function form of |).
Syntax
Section titled “Syntax”C = or(A, B)Description
Section titled “Description”Returns A | B applied elementwise.
Example
Section titled “Example”or([1 0 1], [1 1 0]) % [1 1 1]Element-wise logical OR (function form of |).
C = or(A, B)Returns A | B applied elementwise.
or([1 0 1], [1 1 0]) % [1 1 1]