I am using MATLAB R2013b. I don't understand why the following code is giving error-
a=[1 1 1 2 2 3 3 4 4 5 7];
b=[2 3 4 3 7 4 6 5 7 6 8];
names={'A','B','C','D','E','F','G','H'};
G=graph(a,b,[],names)
Error:Undefined function 'graph' for input arguments of type 'cell'.
graph
– Ander Biguri