MATLAB: How can find decibal sampl for audio

loudness deciabl

Iam read audio file and ineed to comput loudness sample in audio

Best Answer

See if the Signal Processing Toolbox mag2db function will do what you want.
Note that it is necessary to use the absolute value of the argument:
xdB = mag2db(abs(x));
.