Convert sound power in db to Watts
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello everyone, I have a text file which contains the values of sound powers in 'db' for different frequencies. This data comes from a acoustic measurement software. Previously, I had written a script in Matlab to simulate this frequency and sound power data as a .wav audio file, using the values of sound powers(db) as amplitudes. The code looks something like:
Wavaudio = SoundPower*sin(2*pi* frequency*values)
But then I realised, I can not use the values of sound power directly into my code as the values are in 'db'. I am looking for a workaround to convert the values of sound power from 'db' to 'Watts' or any other unit which allows me to use it directly into my script. I am including my text file with this query just to show how my data looks like. Waiting for your input. Thank you in advance! PS : I have a Campbell diagram and I am trying to represent it in the form of a audio file(.wav*). My aim is to get an audio file which produces sound with amplitudes as per the sound power values, for frequencies as given in my text data.
Regards, Karthik
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Simulation, Tuning, and Visualization 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!