フィルターのクリア

How to use matlab audioread Plot the spectrum with frequency on the x-axis and dBA /dBC on the y-axis?

8 ビュー (過去 30 日間)
Hi,everyone~
How to use matlab audioread to plot the spectrum with frequency on the x-axis and dBA/dBC sound pressure level (SPL) on the y-axis?
As shown in Figure 1.
The data that is currently available is a audio(wav).
I would be grateful if you have example code!
thanks
Attach a sample audio.(See the attachment)
fig.1

採用された回答

Chunru
Chunru 2022 年 3 月 24 日
doc audioread % for reading audio file
doc pwelch % for computing power spectral density
  4 件のコメント
ZHU z
ZHU z 2022 年 3 月 24 日
OMG~Thank you for your full answer, this is what I want~
Thank you!
ZHU z
ZHU z 2022 年 4 月 5 日
hi Chunru~
Sorry to bother you again, the result after I run the code is shown in the figure 1.
The vertical axis is in dBm, is this the correct result? How do I convert to dBA? Thanks a lot~
fig 1

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAudio Processing Algorithm Design についてさらに検索

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by