资源 · 指南或文章
Fourier Transform
对傅里叶变换家族(FT、DFT、DTFT 和 FFT)的概念性介绍,随后以圆和“冰沙”比喻为主线,先讲直觉再讲原理。比起一般编程面试,更适合准备信号处理、音频或图形岗位的候选人。
审核日期
打开原站: Fourier Transform (在新标签页中打开原网站)添加到路线图
把这个资源放进你正在跟进的路线图。它会作为你自己的补充资源显示;路线图的步骤不会改变,也不计入你已记录的步骤。
来源内容语言:英语
The Fourier Transform (FT) decomposes a function of time (a signal) into the frequencies that make it up, in a way similar to how a musical chord can be expressed as the frequencies (or pitches) of its constituent notes. The Discrete Fourier Transform (DFT) converts a finite sequence of equally-spaced samples of a function into a same-length sequence of equally-spaced samples of the discrete-time Fourier transform (DTFT), which is a complex-valued function of frequency. The interval at which the DTFT is sampled is the reciprocal of the duration of the input sequence. An inverse DFT is a Fourier series, using the DTFT samples as coefficients of complex sinusoids at the corresponding DTFT frequencies. It has the same sample-values as the original input sequence. The DFT is therefore said to be a frequency domain representation of the original input sequence. If the original sequence spans all the non-zero values of a function, its DTFT is continuous (and periodic), and the DFT provides discrete samples of one cycle. If the original sequence is one cycle of a periodic function, the DFT provides all the non-zero values of one DTFT cycle. The Discrete Fourier transform transforms a…
PrepKit 概览
本概览由 PrepKit 编辑根据源代码仓库撰写并审核,并非资源本身的文字。
- 适合人群
- 来源未说明适用级别
- 形式
- 文章
涵盖内容
- 区分 FT、DFT、DTFT 和 FFT 的定义,以及逆 DFT 返回什么
- FFT 通过把 DFT 矩阵分解为稀疏因子,把直接计算 DFT 的 O(n^2) 加速到 O(n log n)
- 时域和频域视角,包括对 10 到 50 Hz 余弦叠加信号的分析
- 用找出冰沙配方作通俗比喻,并论证为什么要借助欧拉公式以圆周路径来思考
- DFT 符号 N、n、k、x_n 和 X_k 的术语表,以及 1/N 因子可以放在哪里
使用建议
这是 PrepKit 的学习建议,并非来源的说法。
根据符号术语表实现直接的 O(n^2) DFT,输入两个正弦波之和,确认在预期的 k 值处出现两个峰。然后加上递归的基 2 FFT,检查输出一致。
范围与局限
公式都是图片,“解释”部分的方程和图示托管在 betterexplained.com 上,其指南也是第一条参考资料。没有 FFT 算法步骤或代码讲解。对大多数软件面试而言比较小众。
获取方式与形式
GitHub 上采用 MIT 许可的 trekhleb/javascript-algorithms 仓库中的 README;英文,免费阅读,附有法文译本的链接。
PrepKit 于 2026年10月2日 审核。 资源来源提交: 85293e3e2b88
本概览的依据
- src/algorithms/math/fourier-transform/README.md
收录此条目的页面
订阅 PrepKit 通讯
可选。使用 PrepKit 并不需要订阅。