Home > matgraph > @graph > eig.m

eig

PURPOSE ^

eig(g) -- compute the eigenvalues of this graph

SYNOPSIS ^

function v = eig(g)

DESCRIPTION ^

 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)))

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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)));

Generated on Fri 05-Feb-2010 13:55:18 by m2html © 2003