如何从幅值和相位信息创建复数表示以执行快速傅里叶逆变换(IFFT)? [英] How to create the complex representation from magnitude and phase information to perform an inverse fast fourier transform(IFFT)?
问题描述
我的频率范围从0.1到2.6,有200个样本.我想使用IFFT来获取时间信号.如何将这个幅值和相位数据集转换为复杂平面?
我以前从未使用过IFFT(或fft),所以一些有用的见解将非常有帮助!
假设您想要这样的复杂表示形式:
a = 3+4i;
magnitude = abs(a);
phase = angle(a);
您应该将幅度= 5,并且theta = 0.9273
现在要求逆并获取复杂的表示形式,请使用公式:
z = magnitude*exp(i*phase)
如果一切正常,则应该恢复复杂的表示形式.
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!
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.
这篇关于如何从幅值和相位信息创建复数表示以执行快速傅里叶逆变换(IFFT)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!