FUNCTION REFERENCE

isreal

True if storage is real.

True if storage is real.

Syntax

isreal(A)

Complex storage gives false even when the imaginary part is zero, for example complex(1,0).

Example

isreal(1+2i)   % false

Differences from MATLAB: none known.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.