Calculates the FFT frequencies for a given FFT length and sample spacing, which are the frequencies corresponding to the output of the FFT.
FFT length
Optional
Sample spacing
const result = Chalkboard.calc.fftfreq(8, 0.5); // Returns the eight Fourier sample frequencies Copy
const result = Chalkboard.calc.fftfreq(8, 0.5); // Returns the eight Fourier sample frequencies
Calculates the FFT frequencies for a given FFT length and sample spacing, which are the frequencies corresponding to the output of the FFT.