E CODE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2>
<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function mobius(g,nverts)</a>
0002 <span class="comment">% mobius(g,nverts) --- create a Mobius ladder graph</span>
0003 <span class="comment">% g is the graph to be written</span>
0004 <span class="comment">% nverts is the number of vertices (must be even)</span>
0005 
0006 
0007 <span class="keyword">if</span> (mod(nverts,2)==1)
0008     error(<span