Incidence matrix for IEEE-6bus system network

1 visualización (últimos 30 días)
djibeyrou ba
djibeyrou ba el 16 de Jun. de 2020
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?

Respuestas (0)

Categorías

Más información sobre Operators and Elementary Operations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by