Graduate Finding a specific amplitude-frequency in the time domain

Click For Summary
To identify specific time zones in a signal where a particular frequency occurs, the Short-Time Fourier Transform (STFT) can be utilized. This method allows for the analysis of frequency content over time, making it suitable for detecting low frequencies with high amplitudes. The user has provided MATLAB code for performing a Fast Fourier Transform (FFT) but seeks guidance on correlating these frequency results back to the time domain. By applying STFT, one can effectively pinpoint when specific frequencies appear in the original signal. This approach will enhance the analysis of the signal's characteristics.
Behrouz
Messages
21
Reaction score
0
Hello,

I have a signal and got the FFT result of that. I have shown them both below along with the MATLAB code.

May I ask if there is any method to find the time zone(s) in the signal that a specific frequency has(have) happened?

The reason I'm asking this is that I want to specify the time that I had a (specific) low frequency with a (specific) high amplitude.
Code:
%% apply fft on the csv and plot the result

nfft = length(M);

nfft2 = 2^nextpow2(nfft);

ff = fft(M, nfft2);

fff = ff(1:nfft2/2);

stem(abs(fff));

uc?id=1Ps_ewvEN6HIb2z9CS7gGiEnNI3GP4mts.png

uc?id=1W-38kvWD1hDHxxsU9rRDILzKHH8Wb8bP.png


Any advice would be greatly appreciatd.

Regards,
Behrouz
 

Attachments

  • uc?id=1W-38kvWD1hDHxxsU9rRDILzKHH8Wb8bP.png
    uc?id=1W-38kvWD1hDHxxsU9rRDILzKHH8Wb8bP.png
    15.5 KB · Views: 412
  • uc?id=1Ps_ewvEN6HIb2z9CS7gGiEnNI3GP4mts.png
    uc?id=1Ps_ewvEN6HIb2z9CS7gGiEnNI3GP4mts.png
    13.8 KB · Views: 461
Physics news on Phys.org

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
18
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 47 ·
2
Replies
47
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
5K