实验数据的傅里叶变换

发布于 2024-11-02 01:13:48 字数 196 浏览 2 评论 0原文

我尝试在 Matlab 中对从风洞实验中获取的一些数据进行快速傅里叶变换,试图显示流动中速度变化的频率,但不知何故,我一直将 0Hz 作为主频率。任何人以前遇到过这个问题并且知道如何解决它或者可以更好地向我解释如何进行频率变换。

Ps:似乎可以正常进行快速傅里叶变换,问题可能出在将数据从虚数转换为实值时,

请帮助我!

谢谢你!

I've tried to do a fast fourier transform in Matlab of some data taken from an experiment in the windtunnel trying to show the frequency of the velocity variation in a flow, but somehow I keep on getting 0Hz as the main frequency. Anyone has encountered this problem before and knows how to solve it or can explain me a bit better how to do the frequency transform.

Ps: It seems to be doing the fast fourier transform alright, the problem might be when converting the data from imaginary to real values

Help me please!

Thank you!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

悍妇囚夫 2024-11-09 01:13:48

遇到这种情况是很正常的事情。 0 Hz 分量(通常称为DC 分量,与电气等效物类似)是数据的恒定、非时变部分——它相当于数据的平均值。如果您的数据均值不为零,这是很正常的事情。

如果您愿意,您可以计算平均值,然后从数据系列中减去它,但这并不是真正必要的,因为它只会改变 FFT 的 DC 分量。如果您对直流分量不感兴趣,则可以忽略它。

This is a pretty normal thing to encounter. The 0 Hz component (often referred to as the DC component in analogy to the electrical equivalent) is the constant, non-time-varying component of the data -- it's equivalent to the mean of the data. If you have data that does not have a mean of zero, this is a very normal thing to see.

If you want to, you can calculate the mean and then subtract it from your data series, but this is not really necessary, since it will only change that DC component of the FFT. If you're not interested in the DC component for your purposes, you can simply ignore it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文