How to use matlab audioread Plot the spectrum with frequency on the x-axis and dBA /dBC on the y-axis?
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
ZHU z
el 24 de Mzo. de 2022
Comentada: ZHU z
el 5 de Abr. de 2022
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)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/939604/image.png)
fig.1
Respuesta aceptada
Chunru
el 24 de Mzo. de 2022
doc audioread % for reading audio file
doc pwelch % for computing power spectral density
4 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Audio Processing Algorithm Design en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!