Jump to content

Complex Numbers .... coding ... need help


Recommended Posts

Posted

I have not messed with complex numbers in probably 30 years or more... I have a snippet of Matlab code that I need to wire up asap , I made a couple of feeble attempts and decided to ask the experts.

 

I need a wiring soluition for this:

 

exp(sqrt(-1)*angles)

 

I assume it is pretty simple?

 

TIA 

 

Dan

Posted

Is this what you need?

 

Treats your angle array as the imaginary component of a complex number (with a 0 real value component).

 

Check out the help for Re/Im To Complex and Exponential Function.

 

A.  :)

post-10895-0-40431900-1418747582.png

Posted

Orwire angle to a cos and sin function and then feed them both to a real amd imaginary parts to complex number

(e^{i\theta}=\cos \theta + i \sin \theta)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.