p>


To open the file in MATLAB, enter the following command in the MATLAB Command Window.
<pre class="codeinput">
edit([getkWavePath('examples') 'example_us_bmode_linear_transducer.m']);
</pre>
To run the file, enter the following command in the MATLAB Command Window.
<pre class="codeinput">
run([getkWavePath('examples') 'example_us_bmode_linear_transducer']);
</pre>
</p>

<p>Note, this example generates a B-mode ultrasound image from a 3D scattering phantom using <code><a href="kspaceFirstOrder3D.html">ks