FUNCTION REFERENCE
NaN
Not a number.
Not a number.
Syntax
NaNResult of undefined operations such as Inf - Inf. NaN is not equal to anything, including itself. Use isnan to test for it. nan is the same.
Example
isnan(Inf - Inf) % trueDifferences from MATLAB: Not checked against MATLAB yet. Only the form without arguments; NaN(n) and NaN(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.