Clear Filters
Clear Filters

Incidence matrix for IEEE-6bus system network

2 views (last 30 days)
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?

Answers (0)

Categories

Find more on Operators and Elementary Operations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!