Incidence matrix for IEEE-6bus system network
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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?![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/317061/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/317061/image.jpeg)
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Graph and Network Algorithms 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!