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

<p>For a more detailed discussion of this example and the underlying techniques, see B. T. Cox and B. E. Treeby, "Effect of sensor directionality on photoacoustic imaging: A study using the k-Wave toolbox," in <em>Proc. SPIE</em>, 