FUNCTION REFERENCE

or

Element-wise logical OR.

Element-wise logical OR.

Syntax

or(A, B)

Same as A | B. Inputs are converted to logical.

Example

or([1 0], [0 0])   % [true false]

Differences from MATLAB: Exactly two arguments.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.