I have created a binarized symmetric matrix A (n x n) which represents the connectivity matrix with 1's and 0's – 1 representing the existence of an edge. This error though is general and works with any type of matrix. When using the command G=graph(A) I get the following error:
>> G=graph(A)Error using graph.validateEdgeProperties (line 375)Edge properties must be a table.Error in graph/set.EdgeProperties (line 330) G.EdgeProperties = graph.validateEdgeProperties(T);Error in graph (line 278) G.EdgeProperties = table(nonzeros(tril(A)), 'VariableNames', {'Weight'});
I am using R2019b. I have not used the graph function before on this version. What is the problem? It occurs irrespective of the matrix that I am using (it is a generic problem).
Thanks!
Best Answer