fftfreq - get exact Matlab FFT frequencies

Calculate FFT frequencies of the amplitudes calculated with the FFT
118 download
Aggiornato 13 apr 2023

Visualizza la licenza

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).

Cita come

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. Recuperato .

Compatibilità della release di MATLAB
Creato con R2020a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.2

Only the description updated

1.0.1

Updated description

1.0.0