MATLAB Function Reference
  Go to function:
    Search    Help Desk 
real    Examples   See Also

Real part of complex number

Syntax

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         Absolute value and complex magnitude

angle       Phase angle

conj        Complex conjugate

i, j        Imaginary unit ()

imag        Imaginary part of a complex number



[ Previous | Help Desk | Next ]