Extracting frequency from fft command

조회 수: 5 (최근 30일)
saad
saad 2013년 10월 16일
댓글: Tewodros Abebe 2021년 6월 6일
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,

답변 (1개)

Matt J
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
saad
saad 2013년 10월 17일
sorry, but i didn't how to added to my code.
Tewodros Abebe
Tewodros Abebe 2021년 6월 6일
Sorry, i need to shift center frequency in 2/T. so how can i plot?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Transforms에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by