Convert adjacency matrix to specific edge list
Show older comments
if i have the matrix
[1 0 0
0 0 1
0 0 0 ]
and i want the form
1 2 3 1 2 3 1 2 3
1 1 1 2 2 2 3 3 3
1 0 0 0 0 0 0 1 0
and i want the values of third row in result. i.e ans= [1 0 0 0 0 0 0 1 0]
Answers (0)
Categories
Find more on Object Analysis 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!