real()

Returns the real component of a complex number

Syntax
y = real(x)

Arguments
Name Description Range Type Required
x number (-∞, ∞) complex yes

Examples

a = real(1-1*j)
returns 1.000

Defined in

Built in

See Also

cmplx(), imag(), re()

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources