How to draw a high-contrast spectrogram?
조회 수: 6 (최근 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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/630455/image.png)
Figure-1 A spectrogram generated by matlab function spectrogram()
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/630460/image.png)
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!