This commit is contained in:
2023-11-14 17:10:27 +08:00
commit d5a822831c
423 changed files with 5909 additions and 0 deletions

10
testGraph.m Normal file
View File

@ -0,0 +1,10 @@
%%
%使
% A --> Leader <-- B
A= [0 1 1; 1 0 0; 1 0 0];
A1 = [0 1 0; 1 0 1; 0 1 0];
B = [0 0 0; -1 1 0; -1 0 1];
e1 = eigOfLaplacianAndB(A,B);
e2 = eigOfLaplacianAndB(A1,B);
L = laplacian(graph(A));
eig(L)