Skip to content


Determining if an array has entries equal to NaN


  • It returns an array whose element is equal to logical 1 if the corresponding element in A is NaN, and logical 0 if otherwise.
  • The output has the same size as A.
  • It returns an empty array if A is empty.