="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [phi] = ST_d2phi(d)</a>
0002 <span class="comment">% Convert sediment diameter (m) to phi</span>
0003 <span class="comment">%</span>
0004 <span class="comment">% function [phi] = ST_d2phi(d)</span>
0005 <span class="comment">%</span>
0006 <span class="comment">% DESCRIPTION:</span>
0007 <span class="comment">%    Convert a sediment grain size in m to phi</span>
0008 <span class="comment">%</span>
0009 <span class="comment">% I