Files
FractionOrderSystem/testGraph.m

10 lines
249 B
Mathematica
Raw Permalink Normal View History

2023-11-14 17:10:27 +08:00
%%
%使
% 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)