How to draw a high-contrast spectrogram?
14 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(2 个)
Andres Morales
2023-1-22
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Time-Frequency Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!