


eig(g) -- compute the eigenvalues of this graph This returns the eigenvalues of the adjacency matrix of this graph. It's equivalent to eig(double(matrix(g)))


0001 function v = eig(g) 0002 % eig(g) -- compute the eigenvalues of this graph 0003 % This returns the eigenvalues of the adjacency matrix of this graph. 0004 % It's equivalent to eig(double(matrix(g))) 0005 0006 v = eig(double(matrix(g)));