Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

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

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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