Re(z) As in Mathcad
The real part of z.
Element by element for a vector or matrix. Im gives the imaginary part.
Units
Units are kept.
Re(3+4i)=3
Re(5⋅V)=5 V
Help › Functions
Re(z) As in MathcadThe real part of z.
Element by element for a vector or matrix. Im gives the imaginary part.
Units are kept.
Im(z) As in MathcadThe imaginary part of z, as a real number.
Element by element for a vector or matrix. Re gives the real part.
Units are kept.
arg(z) As in MathcadThe angle of z in radians, from −π to π.
Element by element for a vector or matrix. Divide by deg to see degrees. For a pair of numbers x and y rather than a complex number, see atan2; angle gives angles from 0 to 2π.
The answer is in radians, and z can have units.
angle(x, y) As in MathcadThe angle of the point (x, y), in radians from 0 to 2π.
Note the order: x first, then y. It differs from atan2 only below the x axis, where it gives angles above π instead of negative ones: angle(−1, −1) is 5π/4.