Description
Returns logical matrix with the same dimension as x
containing the element-by-element result true, if the corresponding
element of x is
plus or minus NAN
and false otherwise.
Example
If you enter
x = [ 0 , INF, -INF, NAN, -NAN ]
isnan(x)
O-Matrix will respond
[ F , F , F , T , T ]
Reference
If x is a logical, character or integer matrix,
all of the elements of the return matrix are false.