Skip to main content

Topic: Amplitude (Read 1994 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • inadaze
  • [*]
Amplitude
Hi,
I have been recording sounds in Matlab and ploting them to see the shape of the envelope.  I understand that the signal is displayed over time and has a general amplitude(from 1 to -1). 
My question is how can I convert this general amplitude into something useful like values in dB or voltage.  Does anyone know?

Thanks
Jay

  • Pio2001
  • [*][*][*][*][*]
  • Global Moderator
Amplitude
Reply #1
L being the level displayed, the formula for the voltage is trivial :

V = Vmax x L

In db, it is

20 x log10 (L)

I never used mathlab, so I can't help you to use these formulae.

  • merbanan
  • [*]
Amplitude
Reply #2
10*log10(sample_vector)

try that in matlabcode.