how to obtain frequency axis in hertz in spectrogram, by its inbuilt function results frequency axis in normalized mode

 採用された回答

Bert
Bert 2016 年 10 月 7 日

1 投票

Hi, you should pass the sample frequency as well.
spectrogram(rand(1000,1),windowsize,overlap,windowsize,fs)
(The second time I use windowsize as an argument defines the the size off the fft)

1 件のコメント

Avnish  Bora
Avnish Bora 2016 年 10 月 7 日
Thank you for kind reply

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

その他の回答 (0 件)

カテゴリ

質問済み:

2016 年 10 月 7 日

コメント済み:

2016 年 10 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by