- take a window of samples. Find the maximum sample reading minus minimum sample reading over the window. This gives you dynamic range.
- take a window of samples. subtract the median. fft. find the largest abs() of the fft.
- calculate power. https://www.mathworks.com/help/signal/ug/measure-the-power-of-a-signal.html
How do I define the amplitude of an audio signal
    7 views (last 30 days)
  
       Show older comments
    
    Amit Singh
 on 16 Jun 2018
  
    
    
    
    
    Answered: Walter Roberson
      
      
 on 16 Jun 2018
            I have the impulse responses of an enclosed space at 6 different positions relative to the source. I am trying to implement a code that interpolates a best fit function of amplitude in this space relative to the amplitudes of the known positions. To do this I need to define the amplitude of the already measured audio signals.
0 Comments
Accepted Answer
  Walter Roberson
      
      
 on 16 Jun 2018
        There are multiple definitions you could use:
Note that dynamic range can be greatly affected by transients, so the dynamic range might not reflect where "most" of the signal is. But at the same time, transients might reflect some kind of resonance, and sometimes it is important to know that (for example) a narrow 5 Hz band has a big peak even though the peak only ends up carrying a fraction of the power.
0 Comments
More Answers (0)
See Also
Categories
				Find more on Fourier Analysis and Filtering in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
