 class="comment">% Unfortunately, TriScatteredInterp won't extrapolate,</span>
0193             <span class="comment">% returning instead NaNs outside the original data's extents.</span>
0194             <span class="comment">% So, for each NaN position, find the nearest non-NaN value and</span>
0195             <span class="comment">% use that instead. The order in which the NaN-nodes are found</span>
0196             <span class="comment">% will determine the spatial pattern of the extrapolation.</span>
0