This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

Complex Numbers

Real and imaginary components, phase angles


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 is real
j Imaginary unit
real Real part of complex number
sign Sign function (signum function)
unwrap Correct phase angles to produce smoother phase plots


Plot Imaginary and Complex Data

This example shows how to plot the imaginary part versus the real part of a complex vector, z.

Was this topic helpful?