Power Spectrum with frequency as x-axis and db level as y-axis
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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?
0 Kommentare
Antworten (1)
Mathieu NOE
am 7 Jan. 2021
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
0 Kommentare
Siehe auch
Kategorien
Mehr zu Audio Processing Algorithm Design finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!