Filter löschen
Filter löschen

High quality spectrogram with a few seconds signal

4 Ansichten (letzte 30 Tage)
Diana am 7 Feb. 2016
Kommentiert: Rick Rosson am 8 Feb. 2016
I am trying to get a high quality spectrogram with a signal that is only 5 seconds long. This is the line I am using: the sampling frequency is 1000Hz.
I do not get the quality I need. Is there something I could do?

Antworten (1)

Rick Rosson
Rick Rosson am 7 Feb. 2016
Bearbeitet: Rick Rosson am 8 Feb. 2016
Please try the following:
% Window duration (in seconds):
dur = 0.5;
% Spectrogram settings (in samples):
winSize = round(fs*dur);
overlap = round(winSize/2);
fftSize = winSize;
% Plot the spectrogram:
Then try experimenting with the value of dur until the spectrogram provides a good balance between time resolution and frequency resolution.
  2 Kommentare
Diana am 8 Feb. 2016
Hello Rick,
Thank you for your answer, I tried it, but I still don't get the results I need.
Rick Rosson
Rick Rosson am 8 Feb. 2016
What values did you try for dur? What are you trying to do?

Melden Sie sich an, um zu kommentieren.


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