FUNCTION REFERENCE
imag
Imaginary part.
Imaginary part.
Syntax
imag(Z)Returns the imaginary part as a real array. Real input gives zeros.
Example
imag(3+4i) % 4Differences from MATLAB: none known.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.