converting the result of gml data set to adjacency matrix

2 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by