What to put as input to create adjacency matrix for graph function?

1 次查看(过去 30 天)
I have been trying to use the graph function of MATLAB using logical adjacency matrix but the function isn't taking any 'double' or 'logical' input. Even for the inputs given in example of the documentation, it is given me the same error: "Undefined function 'graph' for input arguments of type 'double'."
  1 个评论
Jeevan Joishi
Jeevan Joishi 2016-6-8
Check if the toolbox is properly installed or if the function is shadowed by some other function. You can execute the following command to see if there MATLAB is able to find the function 'graph'
>> which -all graph

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Directed Graphs 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by