n, sensor_z_position)</code>. Alternatively, the optional input parameter <code>'DataOrder'</code> can be set to <code>'yzt'</code> (the default setting is <code>'tyz'</code>). In both cases, the simulated <code>sensor_data</code> returned by <code><a href="kspaceFirstOrder3D.html">kspaceFirstOrder3D</a></code> must first be reshaped.</p>

<pre class="codeinput">
<span class="comment">% reshape sensor data to y, z, t</span>
sensor_data_rs = reshape(sensor_data, Ny, Nz, kgrid.Nt);

<span class="comment">% re