subfunctions" class="code">function v = eig(g)</a>
0002 <span class="comment">% eig(g) -- compute the eigenvalues of this graph</span>
0003 <span class="comment">% This returns the eigenvalues of the adjacency matrix of this graph.</span>
0004 <span class="comment">% It's equivalent to eig(double(matrix(g)))</span>
0005 
0006 v = <a href="eig.html" class="code" title="function v = eig(g)">eig</a>(double(<a href="matrix.html" class="code" title="function A = matrix(g)">matrix</a>(g)));</pre></div>
<hr><addre