Real part of complex number
Syntax
X = real(Z)
Description
X = real(Z) returns the real part of the elements of the complex array Z.
Z.
Examples
real(2+3*i) is 2.
real(2+3*i)
2
See Also
abs, angle, conj, i, j, imag
abs
angle
conj
i
j
imag
© 1994-2005 The MathWorks, Inc.