I have question of FFT(fast fourier transform)

조회 수: 2 (최근 30일)
SeoHyeoun Seo
SeoHyeoun Seo . 2017년 10월 13일
답변: Jayanta Deb . 2017년 10월 13일
I have a question fft of time domain and frequency domain. I know FFT show the signal how works at frequency domain.
when we use FFT. we declare Ts(time scale) = 1/Fs(Frequency sampling).
why we did it?
If there`s no relations. what will happen?
Fs = 1e6; Ts = 1/Fs; t = 0 : Ts : 2e-2; There is no reason to do that?

답변 (2개)

Christoph F.
Christoph F. 2017년 10월 13일
편집: Christoph F. 님. 2017년 10월 13일
A Fourier transform decomposes a time-domain signal into sinusoidal components. The frequencies of the sinusoidal components are chosen so that n whole oscillations fit in the time Ts covered by the time-domain signal.
Therefore, the frequency resolution of the Fourier transform is equal to 1/Ts. If, for example, Ts is 4 seconds, then the lowest frequency at which one whole oscillation will fit in Ts is 0.25 Hz. At 0.5 Hz, two oscillations will fit in 4s, at 0.75 Hz three, at 1 Hz four, and so on.
If the frequency axis of the Fourier transform is not scaled correctly, then the plot will not reflect the frequency components of the signal correctly.
This appears to be more of a general mathematical question than a MatLab-specific question. The mathemactical background of the Fourier transform is described in much more detail in appropriate literature.

Jayanta Deb
Jayanta Deb 2017년 10월 13일
If you don't calculate the frequency scale correctly then while plotting the FFT's out come you wont be able to plot it properly, if you can calculate the frequency scale as an X axis then you will be able to see the peak of the exact frequency(s) you are looking for.


Help CenterFile Exchange에서 푸리에 분석과 필터링에 대해 자세히 알아보기


Community Treasure Hunt

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

Start Hunting!