Skip to main content
MedCalc
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
working
Show menu Show menu

IM function

Description

IM(A) returns the imaginary part b of the complex number a + bi.

The argument A can be a real number, a complex number or a matrix. When it is a matrix, the function returns a matrix with the same dimensions and with the IM function applied to all elements.

Example

IM(5+3i) returns 3

IM(5) returns 0.

Calculator

IM(  

See also