stft plot doesn't match FFT results
15 views (last 30 days)
I have a signal sampled at 250e6 samples/s. The FFT result of the signal looks correct with fundamental at 1.1 MHz and some harmonics. But when I do short-term fourier transform on the signal using the command:
I am not sure if the result is correct or not. Can anyone please help?
I did detrending to remove the DC noise part.
Star Strider on 2 Oct 2021
If the frequencies are the same in both plots, the only difference is that the STFT plot spans -125 Hz to +125 Hz. The peaks are clustered between 0 Hz and 5 Hz, explaining the bands on either side of the 0 Hz line.
and the plots should look similar (except that the STFT plot will continue to be symmetric about 0).