%% Determine NaN Elements in Complex Numbers
% Create an array of complex numbers. Determine whether the complex numbers contain NaN.

A = [2 + 1i, 1/0 + 3i, 1/2 - 1i*NaN]
TF = isnan(A)

%
% Copyright 2019 The MathWorks, Inc.