an>
0117         
0118         unique_elems=unique(sort(cat(1,checkelems{:})));
0119         cc=1;newidx=zeros(length(unique_elems),2);
0120         <span class="keyword">for</span> ii=1:length(unique_elems)
0121             test4nodes=zeros(1,3);
0122             <span class="keyword">for</span> rr=1:3
0123                 test= find(idx==Mobj.tri(unique_elems(ii),rr));
0124                 <span class="keyword">if</span> ~isempty(test);
0125                     test4nodes(rr)=test;
0126                 <s