0052 
0053 <span class="keyword">if</span> ~<a href="#_sub1" class="code" title="subfunction ok = prufer_check(list)  ">prufer_check</a>(code)
0054     error(<span class="string">'Input is not a valid Prufer code'</span>)
0055 <span class="keyword">end</span>
0056 
0057 n = length(code) + 2;
0058 
0059 <a href="resize.html" class="code" title="function resize(g, n)">resize</a>(g,0);
0060 <a href="resize.html" class="code" title="function resize(g, n)">resize</a>(g,n);
0061 
0062 verts = 1:n;
0063 <a href="e