Main Content

Complex Numbers

Real and imaginary components, phase angles

In MATLAB®,iandjrepresent the basic imaginary unit. You can use them to create complex numbers such as2i+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
连词 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