如何从幅值和相位信息创建复数表示以执行快速傅里叶逆变换(IFFT)? [英] How to create the complex representation from magnitude and phase information to perform an inverse fast fourier transform(IFFT)?

查看:915
本文介绍了如何从幅值和相位信息创建复数表示以执行快速傅里叶逆变换(IFFT)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在将幅度和相位数据转换为复数形式时遇到问题,这是执行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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆