 steady state is extracted from the recorded pressure signals using <code><a href="extractAmpPhase.html">extractAmpPhase</a></code>. This extracts the amplitude from the frequency spectrum at the specified frequency. After calculating the acoustic pressure amplitude, the volume rate of heat deposition is calculated.</p>

<pre class="codeinput">
<span class="comment">% convert the absorption coefficient to nepers/m</span>
alpha_np = db2neper(medium.alpha_coeff, medium.alpha_power) * ...
    (2 * pi * freq).^