フィルターのクリア

How to know the frequency from spectrogram image?

1 回表示 (過去 30 日間)
Frely Rahayu
Frely Rahayu 2017 年 8 月 11 日
回答済み: Christoph F. 2017 年 8 月 11 日
I would like to know the frequency from this spectrogram image. Can I know the frequency from the colorbar? Because I'm still confused of the colorbar unit. Is colorbar unit in Hz or dB? here's my code to get this image
p=dlmread('pv.txt'); m=mean(p); x=p-m; length(x); detik=24*60*60; fs=length(x)/detik; t=1/fs:1/fs:length(x)/fs; plot(t,x); Y=fft(x); plot(t,Y); f=fs*(0:length(Y)-1/length(Y)); spectrogram(x,128,120,256,fs,'yaxis');
I'm looking forward your help, thank you Frely
  1 件のコメント
KSSV
KSSV 2017 年 8 月 11 日
What are the units of x?

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

回答 (1 件)

Christoph F.
Christoph F. 2017 年 8 月 11 日
The frequency is plottet on the vertical (y-) axis.
The color indicates amplitude, so it's probably in dB.

カテゴリ

Help Center および File ExchangeTime-Frequency Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by