FUNCTION REFERENCE

mustBeNonNan

Validate that value is not NaN.

Validate that value is not NaN.

Syntax

mustBeNonNan(A)

Throws an error if any element of A is NaN.

Example

mustBeNonNan([1 Inf -Inf])

Differences from MATLAB: None.

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