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 个评论

What is the logic on getting output from a?
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.

请先登录,再进行评论。

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息

提问:

2016-9-2

评论:

2016-9-2

Community Treasure Hunt

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

Start Hunting!

Translated by