Borrar filtros
Borrar filtros

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

7 visualizaciones (últimos 30 días)
Mengjia Lyu
Mengjia Lyu el 6 de En. de 2021
Respondida: Mathieu NOE el 7 de En. de 2021
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?

Respuestas (1)

Mathieu NOE
Mathieu NOE el 7 de En. de 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

Categorías

Más información sobre Audio Processing Algorithm Design en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by