Creates an Not-a-Number
NaN
nan
NaN(n)
NaN(n, m)
n - a variable: n-by-n matrix
m - a variable: n-by-m matrix
NaN returns the IEEE symbol NaN (Not a Number).
NaN is the result of operations which do not produce a well defined numerical result.
Beware, you must never compare NaN with NaN, in this case, please use isnan.
isnanarrow-up-right.
1.0.0
initial version
Last updated 1 month ago
3 + NaN
NaN != NaN isnan(NaN)