フィルターのクリア

Power Spectrum with frequency as x-axis and db level as y-axis

7 ビュー (過去 30 日間)
Mengjia Lyu
Mengjia Lyu 2021 年 1 月 6 日
回答済み: Mathieu NOE 2021 年 1 月 7 日
Dear all,
I currently have the plot below for a wav file. How can I create a plot with frequency as x-axis and db level as y-axis?

回答 (1 件)

Mathieu NOE
Mathieu NOE 2021 年 1 月 7 日
hello
from what I see , the x axis units is already in Hz
to convert to dB scale , use this :
y_dB = 20*log10(abs(y_fft))
%see example attached

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by