FUNCTION REFERENCE

isnan

True for NaN elements.

True for NaN elements.

Syntax

isnan(A)

Returns a logical array of the same size.

Example

isnan([1 NaN])   % [false true]

Differences from MATLAB: none known.

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