converting the result of gml data set to adjacency matrix
Show older comments
hello all, I have a data set in GML format and by the useful given codes, I had converted to matlab, but now I want to know how can I convert the result to an adjacency matrix? the given solution such as sparse(A(:,1)+1,A(:,2)+1,1),doesn't work properly, thanks for your help
Answers (0)
Categories
Find more on Resizing and Reshaping Matrices 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!