Previous Up Next

7.4.2  Real and imaginary parts of a complex number

The re (or real) and im (or imag) commands find the real and imaginary parts of a complex number.

Examples

re(3+4*i)
     
3           
im(3+4*i)
     
4           

Previous Up Next