Allow Maximum frequency in FFT to be lower than the sampling frequency
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have data that is sampled at 262144Hz and I want to take its FFT by allowing only 64000Hz to be the maximum allowed frequency in the FFT. How do I do that?
Respuestas (1)
Star Strider
el 27 de Jun. de 2020
The maximum frequency for a sampled signal is the Nyquist frequency, half the sampling frequency.
Here:
Fs = 262144;
Fn = Fs/2
evaluating to:
Fn =
131072
You can use or display any part of the spectrum between 0 Hz and the Nyquist frequency. Use the appropriate subscripts or xlim arguments to do that.
2 comentarios
Star Strider
el 27 de Jun. de 2020
To increase the frequency resolution, zero-pad the end of the time-domain signal. (This is usually extended as powers-of-2 for efficiency, however any length will work.) See the fft documentation section on Gaussian Pulse for an extended discussion.
Ver también
Categorías
Más información sobre Fourier Analysis and Filtering en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!