commands
→ Im
Im(z)
The Im command returns the imaginary part of a complex number z.
Examples
z = 2 + 3*I; Im(z); 3