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

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

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개)

카테고리

도움말 센터File Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기

질문:

2016년 5월 31일

댓글:

2016년 6월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by