Incidence matrix for IEEE-6bus system network

1 回表示 (過去 30 日間)
djibeyrou ba
djibeyrou ba 2020 年 6 月 16 日
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 Center および File ExchangeOperators and Elementary Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by