obtaining spectrogram in hertz

26 Ansichten (letzte 30 Tage)
Avnish  Bora
Avnish Bora am 7 Okt. 2016
Kommentiert: Avnish Bora am 7 Okt. 2016
how to obtain frequency axis in hertz in spectrogram, by its inbuilt function results frequency axis in normalized mode

Akzeptierte Antwort

Bert
Bert am 7 Okt. 2016
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)

Weitere Antworten (0)

Kategorien

Mehr zu Time-Frequency Analysis finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by