<< NL_G_ShowGraphNE NL_G: Graph NL_G_SplitEdge >>

NARVAL >> NL_G: Graph > NL_G_Spectrum

NL_G_Spectrum

Perform the spectrum of a graph.

Calling Sequence

[S] = NL_G_Spectrum(G)

Arguments

G :

Graph.

S :

Spectrum.

Description

NL_G_Spectrum performs the spectrum S of the graph G. The spectrum of a graph is the set of eigenvalues of its adjacency matrix.

Examples

n=100;//network size
l=1000;//network squared area side
d=100;//Locality radius
[g]=NL_T_LocalityConnex(n,l,d);//generation of a topology
ind=1;//window index
f=NL_G_ShowGraphN(g,ind);//graph visualization
[S]=NL_G_Spectrum(g)//application of NL_G_Spectrum

Dependency

NL_G_AdjacencyMatrix

Report an issue
<< NL_G_ShowGraphNE NL_G: Graph NL_G_SplitEdge >>