comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Euler formula with complex numbers
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Euler formula with complex numbers [message #29519] Fri, 22 February 2002 09:53
raison is currently offline  raison
Messages: 1
Registered: February 2002
Junior Member
I start from:

z=complex(3,2)
mag=abs(z)
phi=atan(z)

and I want to come back to z with mag and phi in this way:

z_prime=mag*exp(complex(0,1)*phi)


and I get z_prime=( 0.715179, 3.02955) which is different from z.


What is wrong in the way I use IDL?

Thank you
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Need Some Good Ideas
Next Topic: Re: ENVI v 3.1 for Mac

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:15:09 PDT 2025

Total time taken to generate the page: 0.00574 seconds