Re: How to convert EyRe and EyIm to Ey magnitude and phase (
Hi, in my previous answer there is a small mistake, you should use the atan2 function instead of the atan function.
Magnitude is always positive, to get what you want you have to compute:
real(magnitude*exp(j*phase));
I'm not actually sure if you need or not a minus in the exp argument, probably it depends by the convention used, but you can easily find it out by trying both cases.
Hope this helps
grendhell