Please, I have a recorded audio signal from experimental work. I have been able to plot the time domain graph (see attached) using Matlab software. By default, the y-axis values are present in a linear scale (Amplitude). I would like to plot the time domain graph such that the y-axis scale is is in decibel. I understand that using 20*log10(signal) should provide the decibel scale on the y-axis, however, this does not seem to work after several attempts.

Please, I would be glad if someone can assist me (specifically with a code). I might not be doing something right. Thank you.

More Kwaku Owusu Boateng's questions See All
Similar questions and discussions