我的傅里叶变换中的奇怪人工制品

发布于 2024-08-15 08:23:34 字数 104 浏览 2 评论 0原文

我已经在Matlab中对时间序列波形执行了fft(快速傅里叶变换),但实际上在傅里叶变换图中我似乎有一个奇怪的波,尽管有尖峰,但这个波看起来像我希望只在时域。是否有任何编程原因导致这种情况发生?

I have performed an fft (fast fourier transform) on a time series waveform in Matlab, but I seem to have a weird wave actually in the fourier transform plot, although there are spikes this wave looks like something I'd expect to see only in the time domain. Is there any programming reason why this could happen?

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

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

发布评论

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

评论(4

追星践月 2024-08-22 08:23:34

傅里叶变换与傅里叶逆变换非常相似。一个中的尖峰是另一个中的波。因此,如果您的系列中有一个异常值数据点,那么您将在频域中拥有一个波动分量。

一个可能的与编程相关的问题可能是未初始化的数据点,例如向 1024 点 FFT 提供 1023 个数据点。

The Fourier transform is quite similar to the Inverse Fourier Transform. A spike in one is a wave in the other. Hence, if you have one outlier datapoint in your series, you'll have a wave component in the frequency domain.

A possible programming-related issue could be an uninitialized data point, e.g. providing 1023 datapoints to a 1024-point FFT.

栩栩如生 2024-08-22 08:23:34

fft 假设信号是周期性的,因此如果第一个值和最后一个值相差足以使该转换看起来像阶跃函数,则您可以获得一些伪影。通常最好对数据进行加窗以避免这种现象。

The fft assumes the signal is periodic so you can get some artefacts if the first and last values differ by enough to make that transition look like a step function. You are frequently better off windowing the data to avoid that phenomenon.

星光不落少年眉 2024-08-22 08:23:34

请注意,有限长度信号的连续时间傅里叶变换可能会在频域中出现看起来像“尖峰”的情况。请参阅此中的图余弦信号的单个周期和余弦信号的十个周期的连续时间傅里叶变换的帖子。

例如,无限范围的余弦信号具有简单的傅里叶变换,它是一对+/-余弦频率的脉冲。但是,如果您只有十个周期的余弦信号,则傅立叶变换如下所示:

Note that the continuous-time Fourier transform of a finite-length signal can have things that look like "spikes" in the frequency domain. See the plots in this post of the continuous-time Fourier transform of a single period of a cosine signal and of ten periods of a cosine signal.

For example, an infinite extent cosine signal has a simple Fourier transform that's a pair of impulses at +/- the cosine frequency. But if you've only got ten periods of the cosine signal, the Fourier transform looks like this:

alt text

难以启齿的温柔 2024-08-22 08:23:34

Steve 目前正在在他的博客上制作一个关于傅里叶变换的精彩系列。他专门讨论了 2D 变换,但您可能会发现他对窗口的讨论很有帮助。

Steve's currently doing a nice series on Fourier transforms on his blog. He's specifically talking about 2D transforms, but you might find his discussion of windowing helpful.

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