0005 <span class="comment">%</span>
0006 <span class="comment">% (adapted from code by J. Czuba)</span>
0007 <span class="comment">%</span>
0008 <span class="comment">% P.R. Jackson, USGS, 12-9-08</span>
0009 
0010 
0011 
0012 <span class="comment">%% Determine the best fit mean cross-section line from multiple transects</span>
0013 <span class="comment">% initialize vectors for concatenation</span>
0014 
0015 x = [];
0016 y = [];
0017 
0018 <span class="keyword">for</span> zi = 1 : z
0019        
0020     