%% Determine NaN Elements in Real Numbers
% Create a row vector and determine which elements are NaN.

A = 0./[-2 -1 0 1 2]
TF = isnan(A)

%
% Copyright 2012 The MathWorks, Inc.