fftfreq - get exact Matlab FFT frequencies

Calculate FFT frequencies of the amplitudes calculated with the FFT
118.0 次下载
更新时间 2023/4/13

查看许可证

Calculates the exact Fourier frequencies for spectra calculated via FFT. This functionality is not provided by Matlab, hence requires custom function. Currently only works on vectors/1D arrays.
It is not straightforward due to how the operation is done on a bit-level. The first coefficient is 0 Hz (the DC component) but higher negative and positive frequencies are ordered in a specific way, separated at the Nyquist frequency (also optionally returned by the function).

引用格式

Kristupas Tikuišis (2024). fftfreq - get exact Matlab FFT frequencies (https://www.mathworks.com/matlabcentral/fileexchange/113240-fftfreq-get-exact-matlab-fft-frequencies), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2020a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.2

Only the description updated

1.0.1

Updated description

1.0.0