Filter frequencies in matlab's spectrogram

5 ビュー (過去 30 日間)
Saravana Kumar R
Saravana Kumar R 2016 年 5 月 29 日
回答済み: Star Strider 2016 年 5 月 30 日
I have a huge data from my experiments on which I am performing a short-term fft. For this I use, Matlab's spectrogram. The minimum meaningful frequency that can come out of this analysis is given by Rayleigh frequency (1/window-size).For my analysis I use a window size of 0.05 second. So my meaningful minimum frequency would be 20 Hz.
Now, I'd like to filter 0 to 20 Hz in my spectrogram that matlab produces. How do I do this with spectrogram function?
P.S: I'm a newbie to matlab. So any help from matlab experts would be greatly appreciated.
  2 件のコメント
Star Strider
Star Strider 2016 年 5 月 29 日
You have to filter before you call spectrogram.
What do you mean by ‘filter 0 to 20 Hz’?
What do you want to do?
Saravana Kumar R
Saravana Kumar R 2016 年 5 月 30 日
@star Strider : I want to filter out frequencies from 0 to 20 Hz and do spectrogram for the remaining frequencies. (I do not mean to change the axis minimum or maximum.)

サインインしてコメントする。

回答 (1 件)

Star Strider
Star Strider 2016 年 5 月 30 日
Use a high-pass filter with a 20 Hz cutoff. The filter design (Butterworth, Chebyshev, etc.) depends on the result you want.
There are many ways in MATLAB to design filters. My filter design procedure is here: How to design a lowpass filter for ocean wave data in Matlab?

カテゴリ

Help Center および File ExchangeMultirate Signal Processing についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by