IMAG

IMAG returns the imaginary part of x. The mode of the result is real and has the base, scale, and precision of x.

Read syntax diagramSkip visual syntax diagramIMAG( x)
x
Expression. If x is real, it is converted to complex, and an appropriate zero value is returned.