How to interpret FFT output, Spectrogram and calculate Spectral centroid
조회 수: 9 (최근 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
댓글 수: 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!