## Complex FunctionsFor calculations with complex numbers there are functions available to calculate the real part, imaginary part, modulus, argument and complex conjugate of a complex number. You can read more about complex numbers and the complex plane on the page Complex numbers.## FunctionsThe following functions are available for computing properties of complex numbers.
## Examples'Examples of using complex functions Re(3 + 4i) Ans = 3 Im(3 + 4i) Ans = 4 Re(5.5) Ans = 5.5 Im(5.5) Ans = 0 Abs(3 + 4i) Ans = 5 Conj(10.5 + 3.25i) Ans = 10.5 - 3.25i ' Calculate the modulus and argument for ' the complex value 1 + 2i and check the values Angles = Rad; r = Abs(1 + 2i) r = 2.236067977 theta = Arg(1 + 2i) theta = 1.107148718 r * Cos(theta) Ans = 1 r * Sin(theta) Ans = 2 ## See AlsoComplex Numbers, Functions overview |