Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

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

collapse all

Real Part of Complex Number

Compute the real part of the complex number, Z.

Z = 2+3*i;
X = real(Z)
X =

     2

See Also

| | | | |

Introduced before R2006a

Was this topic helpful?