%ISREAL True if input does not use complex storage.
%   ISREAL(X) returns logical 1 (true) if X does not have an imaginary
%   part, and logical 0 (false) otherwise. ISREAL returns logical 0 (false)
%   for complex values that have zero imaginary part, since the value is
%   still stored as a complex number.
%
%   Some common related commands are:
%
%   ~ISREAL(X) detects arrays that have an imaginary part, even if it is
%   all zero.
%
%   ~ANY(IMAG(X(:))) detects strictly real arrays, whether X has
%   an all zero imaginary part allocated or not.
%
%   Examples:
%   1) x = magic(3);
%      isreal(x)
%
%      The result is true because x is not a complex array.
%
%   2) y = complex(x);
%      isreal(y)
%
%      The result is false because COMPLEX returns y with an all zero
%      imaginary part.
%
%   See also REAL, IMAG, COMPLEX, I, J.

%   Copyright 1984-2020 The MathWorks, Inc.
%   Built-in function.

