FUNCTION REFERENCE

and

Element-wise logical AND.

Element-wise logical AND.

Syntax

and(A, B)

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

Example

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

Differences from MATLAB: Exactly two arguments; more than two are not accepted.

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