Borrar filtros
Borrar filtros

Extracting frequency from fft command

2 visualizaciones (últimos 30 días)
saad
saad el 16 de Oct. de 2013
Comentada: Tewodros Abebe el 6 de Jun. de 2021
I found a post for you that asking about code for extracting particular frequency from fft,if you don't mind, i need something like that in another algorithm.
Thanks,

Respuestas (1)

Matt J
Matt J el 17 de Oct. de 2013
For an N-point fft with time sampling interval T, the output of fftshift(fft(...)) has frequency axis (Hz) given by,
fAxis=( (0:N-1) -ceil((N-1)/2) )/N/T;
  2 comentarios
saad
saad el 17 de Oct. de 2013
sorry, but i didn't how to added to my code.
Tewodros Abebe
Tewodros Abebe el 6 de Jun. de 2021
Sorry, i need to shift center frequency in 2/T. so how can i plot?

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by