FUNCTION REFERENCE

minus

Subtraction, the function form of a - b.

Subtraction, the function form of a - b.

Syntax

C = minus(A, B)

Evaluates a - b with the operator's own rules.

Example

minus([5 6], 1)   % [4 5]

Differences from MATLAB: same limits as the - operator.

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