How to interpret FFT output, Spectrogram and calculate Spectral centroid
3 次查看(过去 30 天)
显示 更早的评论
Hi how do i interpret the FFT output, spectrogram (the figures below) and how do I calculate the spectral centroid ? The way i calculate spectral centroid is using summation(amplitude * frequency) / summation(frequency) Thanks in advance
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/156702/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/156703/image.jpeg)
0 个评论
采纳的回答
Star Strider
2016-9-28
Plotting your fft as a loglog plot would help you interpret it. You have a large d-c (constant) offset to your signal, and unless you eliminate that by subtracting the mean of your signal before you take the fft, only a loglog plot will let you see the details.
You can calculate the Spectral centroid relatively easily now that you have correctly calculated and plotted your fft.
The spectrogram is difficult to interpret. The only reasonable interpretation is that your signal has completely different frequency content at different times. There does not appear to be any pattern in it with respect to time.
2 个评论
Star Strider
2016-9-28
My use of ‘d-c offset’ is an electrical engineering term. It refers to the direct-current component of an otherwise oscillating signal. In practice, it is simply the mean of any signal.
You assume correctly. The definition of ‘spectral centroid’ you’re using is the same as the Wikipedia definition.
No worries with the questions! I’ve taken several signal processing courses over the years (not covering all the same information, since some involved wavelets, neural networks, hardware implementations of filters, and other techniques), and I know from my experience it takes time to learn them. If it was possible to learn signal processing overnight, there would not be year-long courses in it! Take your time, and understand it.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Time-Frequency Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!