 nz&gt;8, nz=8; <span class="keyword">end</span>
0016 <span class="keyword">end</span>
0017 Mod.z=zparam(N,nz);
0018 
0019 aa=diff(unique(sort(N.elec(:,1))));
0020 dxel=min(aa(find(aa)));
0021 aa=diff(unique(sort(N.elec(:,2))));
0022 dyel=min(aa(find(aa)));
0023 minx=min(N.elec(:,1))-dxel;
0024 maxx=max(N.elec(:,1))+dyel;
0025 miny=min(N.elec(:,2))-dyel;
0026 maxy=max(N.elec(:,2))+dyel;
0027 Mod.x0=minx;
0028 Mod.y0=miny;
0029 <span class="keyword">if</span> isempty(dy), dy=dyel; <span class="keyword">end</