Extracting frequency from fft command
Afficher commentaires plus anciens
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,
Réponses (1)
Matt J
le 17 Oct 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 commentaires
saad
le 17 Oct 2013
Tewodros Abebe
le 6 Juin 2021
Sorry, i need to shift center frequency in 2/T. so how can i plot?
Catégories
En savoir plus sur Transforms dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!