FUNCTION REFERENCE

Inf

Positive infinity.

Positive infinity.

Syntax

Inf

Syntax

x = -Inf

Result of 1/0. Use isinf to test for it and isfinite to exclude it. inf is the same.

Example

1/0   % inf

Differences from MATLAB: Not checked against MATLAB yet. Only the form without arguments; Inf(n) and Inf(m, n) are not supported yet.

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