[TOC]
isnan
Determine if an array has entries equal to NaN
Usage
isnan(A)
- It returns an array in which an element is equal to logical 1 if the corresponding element in
A is NaN, and logical 0 if otherwise.
- A complex number is
NaN if the real or imaginary part is NaN.
- The output has the same size as
A.
- It returns an empty array if A is empty.