5 lines
89 B
Mathematica
5 lines
89 B
Mathematica
|
|
function e = eigOfLaplacianAndB(A,B)
|
||
|
|
G = graph(A);
|
||
|
|
L = laplacian(G);
|
||
|
|
e = eig(-(L+B));
|
||
|
|
end
|