Incidence matrix for IEEE-6bus system network

2 次查看(过去 30 天)
I want to create incidence matrix for IEEE-6bus system network.
G = graph([1 1 1 2 2 3 2 4], [2 4 5 3 4 5 6 6]);
I = full(incidence(G));
i got this output A=[ -1 -1 -1 0 0 0 0 0
1 0 0 -1 -1 -1 0 0
0 0 0 1 0 0 -1 0
0 1 0 0 1 0 0 -1
0 0 1 0 0 0 1 0
0 0 0 0 0 1 0 1]
this result is not correct.
the good result is in picture attached here. Can you help to get the right result?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Operators and Elementary Operations 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by