How to get the FFT peaks from a non stationary signal
4 views (last 30 days)
John Navarro on 15 Mar 2021
I have a signal of 15 seconds with a sampling rate of 20KHz. I need a table with the location of the 3 highest peaks of the FFT, every 0.2 seconds.
I was planning to use the retime along iwht the findpeaks and fft command but retime only gives me one output and no multiple outputs.
I know this is basically what a short time fast fourier transform does but I am looking for other alternatives that allow me to see and extract changes in the FFT over time, as a table and not as a image.
If any one have a solution, suggestion or an alternative please let me know.
Bjorn Gustavsson on 15 Mar 2021
What you seem to attempt is nothing but extracting peaks out of ffts from sequences of shorter time-span. That ought to be exactly the same as calculating the sft (with spectrogram or the like) and then extract the desired peaks from each time-window. You could have a go at instantaneous frequency, Hilbert-Huang-transform - but that doesn't sound like what you're interested in.