   
0152         <span class="keyword">else</span>
0153             disp(<span class="string">'Mising linked nodes in transect, continue with increased resolution'</span>)
0154             keepgoing=1;
0155         <span class="keyword">end</span>
0156     <span class="keyword">end</span>
0157 <span class="keyword">end</span>
0158 <span class="comment">% check that no repeated values are present in indices</span>
0159             transect.x=unique(transect.x);
0160             transect.y=unique(transect.y);