Other ways to improve fft amplitude

2 visualizaciones (últimos 30 días)
Claudio Gerosa
Claudio Gerosa el 24 de Abr. de 2024
Comentada: Star Strider el 24 de Abr. de 2024
Are there any other ways to improve the amplitude accuracy of fft, other than filtering the signal and using a flat top window, which I've already tried? Thank you in advance.

Respuesta aceptada

Star Strider
Star Strider el 24 de Abr. de 2024
Another option may be to zero-pad the fft using:
Fs = signal_sampling_frequency
L = signal_length;
NFFT = 2^nextpow2(L)
FTsignal = fft(signal.*window, NFFT)/sum(window)
Fv = Fs*(0:(NFFT/2))/NFFT; % Frequency Vector
or something similar.
Increase ‘NFFT’ by powers-of-2 (for the most efficient results) to increase the frequency resolution of the result. This may reduce spectral leakage, since that may also improve the amplitude (magnitude) estimation. Experiment with this to see if it works in your situation.
  4 comentarios
Claudio Gerosa
Claudio Gerosa el 24 de Abr. de 2024
Thank you very much.
Star Strider
Star Strider el 24 de Abr. de 2024
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Fourier Analysis and Filtering en Help Center y File Exchange.

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by