Is it possible for matlab to convert a graph into an adjacency matrix?
古いコメントを表示
so far i have found related sites, but don't know how to use them possible to recommend which is the best method? http://www.ams.jhu.edu/~ers/matgraph/
回答 (2 件)
Walter Roberson
2012 年 1 月 16 日
0 投票
What data structure is currently being used to represent your graph? Is it defined by edges, defined by vertices, is it a object drawn on the screen whose data can be extracted using get(), or is it an image you have to interpret to determine the vertices and connections?
2 件のコメント
jy tan
2012 年 1 月 16 日
Walter Roberson
2012 年 1 月 19 日
GML as in Geography Markup Language? If so then looking around a little, I do not find any direct way to read such files in MATLAB. I do, though, find a Java package for dealing with them, that you should be able to use from MATLAB; see http://gcmd.nasa.gov/records/GML4J.html
jy tan
2012 年 1 月 19 日
0 投票
1 件のコメント
Walter Roberson
2012 年 1 月 19 日
Not usefully until we have a good handle on the data format. A lot of graphs come defined in terms of adjacency matrices so possibly once the data is read in, there would be no operation needed.
カテゴリ
ヘルプ センター および File Exchange で MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!