I'm writing a code to compute a simple real data transformation using FFTW. I want to compare the spectrum of the FFTW to FT of the same data. My DFT data length is 5000. However, even if I use a much larger FFTW size (for example N=450000
) I don't get a desired frequency resolution. In other words, there's a large gap between each frequency bins in the output spectrum.
This gives me a frequency gap of 1/(deltat*N) = 1,154,700.5
Is there any way I can produce smaller frequencies without massively increasing the FFT size (N
) which will sacrifice the speed.