作者:
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,