I have a problem with network connectivity matrix

i have a matrix a=[3 5 0;6 5 0;1 3 1;1 20 0;6 20 0], column 1 and column 2 represent edge connections, column 3 represents if connection is open/closed(0/1), i have to get a output in the form of a matrix,the output is [3 1;5 0;6 20]. I have matlab2015a so i cannot use graph theory.

2 commentaires

KSSV
KSSV le 2 Sep 2016
What is the logic on getting output from a?
Sai Ram
Sai Ram le 2 Sep 2016
I dont know the logic behind the solution to solve this problem, i have tried to use control flow and sparse matrix manipulation. The problem is on network topology processor for a electrical power system, This is data on circuit breaker connections.In column 3, 1 indicates a closed breaker this implies a connection and 0 indicates a open breaker this implies the given circuits are not connected. column 1 and column 2 are labels for circuit elements connected via the circuit breaker. The problem is to find the list of connected paths via the given network matrix.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Specialized Power Systems dans Centre d'aide et File Exchange

Question posée :

le 2 Sep 2016

Commenté :

le 2 Sep 2016

Community Treasure Hunt

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

Start Hunting!

Translated by