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

Compute the real part of the complex number, Z.

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

     2

More About

collapse all

Tall Array Support

This function fully supports tall arrays. For more information, see Tall Arrays.

See Also

| | | | |

Introduced before R2006a


Was this topic helpful?