楼主:
sleeeve (赴美留学的日子...)
2016-04-06 06:12:32http://www.mathworks.com/help/matlab/ref/graph.html
我照着Matlab网页复制贴上以下code:
s = [1 1 1 2 2 3 3 4 5 5 6 7];
t = [2 4 8 3 7 4 6 5 6 8 7 8];
G = graph(s,t)
执行的时候却出现以下错误:
Undefined function 'graph' for input arguments of type 'double'.
到底还要再定义些什么呢?
Thx,