Search Contact information
University of Cambridge Home Department of Engineering
University of Cambridge >  Engineering Department >  computing help
next up previous contents
Next: Numerical Analysis Up: Maths Previous: Maths

Complex Numbers

By default i and j have the value $\sqrt{-1}$and complex numbers can be represented in the usual way - e.g s = 2i+3. The usual operators and functions can be used on complex numbers and there are some special functions too - imag, real, conj, angle, etc. Note that abs works with complex numbers, and that matrix transposition by default conjugates the elements (use .' rather than ' to suppress this).



© Cambridge University Engineering Dept
Information provided by Tim Love
2006-07-24