Functions > Utility Functions > Complex Number Functions
Complex Number Functions
Use these functions to extract the magnitude and argument of a complex number.
Re(Z)—Returns the real part of Z.
Im(Z)—Returns the imaginary part of Z.
arg(z)—Returns the principal argument of z, between −π and π, including π. The argument is the value of θ when z is written as |z| · e^(i·θ).
The arg function is related to the polar angle functions.
Arguments
Z is a real or complex scalar or matrix.
z is a real or complex scalar or vector.
Watch this video to learn more about complex number functions:
Was this helpful?