e="5" src="images/example_us_bmode_linear_transducer_06.png" style="width:560px;height:420px;" alt="">

<p></p>
<p><b>4. Envelop Detection</b></p>
<p>The high frequency variations in the scan lines are then removed in a demodulation process known as envelope detection. Here, this is achieved using <code><a href="envelopeDetection.html">envelopeDetection</a></code> which extracts the signal envelope using the Hilbert transform.</p>

<pre class="codeinput">
<span class="comment">% envelope detection</span>
sc