 class="string">'Number of vertices must be even'</span>)
0009 <span class="keyword">end</span>
0010 <span class="keyword">if</span> (nverts &lt; 6)
0011     error(<span class="string">'Number of vertices must be at least 6'</span>)
0012 <span class="keyword">end</span>
0013 
0014 n = nverts/2;
0015 <a href="cycle.html" class="code" title="function cycle(g,n)">cycle</a>(g,nverts)
0016 more_edges = zeros(n,2);
0017 <span class="keyword">for</span> v=1:n
0018     more_edges(v,:) = [v, v+n];
0019 <span class="