ISNAN

 

 True for Not-A-Number.

  ISNAN(X) returns 1's where the elements of X are NaN's and

  0's where they are not.  For example ISNAN([pi NaN Inf -Inf])

  is [0 1 0 0].

 

 

  See also FINITE515M2I, ISINFA4WLG.