nkt-Anordnungen</span>
0026     <span class="comment">%midpoint(fn,:)=(2*N.elec(N.a(fn),1:2)+N.elec(N.m(fn),1:2)+...</span>
0027     <span class="comment">%    N.elec(N.n(fn),1:2))/4;</span>
0028     midpoint(fn,:)=(N.elec(N.m(fn),1:2)+N.elec(N.n(fn),1:2))/2;
0029 <span class="keyword">end</span>
0030 fb=find(N.b&gt;0);
0031 <span class="keyword">if</span> ~isempty(fb), <span class="comment">% 4-Punkt-Anordnungen</span>
0032     midpoint(fb,:)=(N.elec(N.a(fb),1:2)+N.elec(N.b(fb),1:2)+<span class="keyword">.