real - 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.

Examples

real(2+3*i) is 2.

See Also

abs, angle, conj, i, j, imag

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS