How to draw a high-contrast spectrogram?
Mostra commenti meno recenti
Some software for sound analysis can draw spectrograms with higher contrast (backgrounds are almost zero). I was wondering what tricks may I use to generate similar spectrograms.

Figure-1 A spectrogram generated by matlab function spectrogram()

Figure-2 A spectrogram of the same audio signal generated by a software
Risposte (2)
Andres Morales
il 22 Gen 2023
1 voto
You can modify the spectrogram minimum thresholding value. This will zero values below the threshold:
https://www.mathworks.com/help/signal/ref/spectrogram.html#namevaluepairarguments
Sulaymon Eshkabilov
il 26 Mag 2021
0 voti
Hi,
Use colormap()
3 Commenti
zhehao.nkd
il 26 Mag 2021
Sulaymon Eshkabilov
il 26 Mag 2021
colormap(jet); colormat(hsv); etc
zhehao.nkd
il 31 Mag 2021
Categorie
Scopri di più su Time-Frequency Analysis in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!