Extracting frequency from fft command
2 次查看(过去 30 天)
显示 更早的评论
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,
0 个评论
回答(1 个)
Matt J
2013-10-17
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Transforms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!