Documentation

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

| | | | |

Introduced before R2006a

Was this topic helpful?