polarcpx()

Polar to rectangular conversion function

Syntax
polarcpx(Number, Convert)

Name Description Range Type Default Required
Number Number or array to convert. The real part is magnitude and the imaginary part is the phase in Radians. (-∞, ∞) integer, real, complex, array   yes
Convert Converts result to real (for integer, real) [0, 1] integer 0 no

Examples

y = polarcpx(2)
returns a real number 2.0

y = polarcpx(1 + pi/4 j)
returns a complex number 0.707 + 0.707 * j

y = polarcpx(makearray(2,1 + pi/4 j, 2 + pi/4 j))
returns an array of complex numbers ( 0.707+0.707j, 1.414+1.414j)

See Also

polar()

 

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

Contents
Additional Resources