Complex Numbers
Real and imaginary components, phase angles
In MATLAB®, i
and j
represent the basic imaginary
unit. You can use them to create complex numbers such as 2i+5
. You can also
determine the real and imaginary parts of complex numbers and compute other common values such
as phase and angle.
Functions
abs | Absolute value and complex magnitude |
angle | Phase angle |
complex | Create complex array |
conj | Complex conjugate |
cplxpair | Sort complex numbers into complex conjugate pairs |
i | Imaginary unit |
imag | Imaginary part of complex number |
isreal | Determine whether array uses complex storage |
j | Imaginary unit |
real | Real part of complex number |
sign | Sign function (signum function) |
unwrap | Shift phase angles |
Topics
- Plot Complex Numbers
Plot the imaginary part versus the real part of complex numbers.