How to create the complex representation from magnitude and phase information to perform an inverse fast fourier transform(IFFT)? [duplicate]

心已入冬 提交于 2019-12-24 16:33:18

问题


I have a problem with converting amplitude and phase data into the complex form, which is required to perform an IFFT. (inverse fast fourier transform). This is the only data I have.

My frequency range goes from 0.1 to 2.6 and, with 200 samples. I would like to use IFFT to obtain a time signal. How do I convert this magnitude and phase dataset into the complex plane?

I have never used IFFT (Or fft) before, so some helpful insights would be very helpful!


回答1:


Assuming you want the complex representation like this:

a = 3+4i; 
magnitude = abs(a);
phase = angle(a);

you should have magnitude = 5, and theta = 0.9273

Now to inverse and obtain back your complex representation, use the formula:

 z = magnitude*exp(i*phase)

if all goes correctly, you should have the complex representation back.



来源:https://stackoverflow.com/questions/31922776/how-to-create-the-complex-representation-from-magnitude-and-phase-information-to

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!