CreateCompleGraph using Symbolic Math Toolbox
2 次查看(过去 30 天)
显示 更早的评论
I am working on Matlab 2012b. I have symbollic Math Toolbox. But when I try for
MuPAD Functions
Graph::createCircleGraph Generates a circle Graph Graph::createCompleteGraph Generates a complete graph Graph::createGraphFromMatrix Transfers a squared matrix into a directed graph Graph::createRandomEdgeWeights Sets random weights to edges Graph::createRandomEdgeCosts Sets random costs to edges Graph::createRandomGraph Generates a random graph. Graph::createRandomVertexWeights Sets random weights to vertices Graph::plotBipartiteGraph Plots a Graph in a bipartite layout Graph::plotCircleGraph Plots a Graph in a circle layout Graph::plotGridGraph Plots a Graph in a grid layout
Functions...It is not working.
Is there any other procedure to activate this functions ??
Please do let me know. I need graph theory for my research.
Thanks.
0 个评论
回答(2 个)
Kechao
2013-4-26
编辑:Kechao
2013-4-26
These functions should be only used in MuPad.
Please try typing MuPad in the Command Window. The MuPad notebook window would show up. You can try to use the code below:
G1 := Graph::createCircleGraph(4):
Graph::printGraphInformation(G1)
And type Enter, the results would like this:
Vertices: [1, 2, 3, 4]
Edges: [[1, 2], [2, 3], [3, 4], [4, 1]]
Vertex weights: no vertex weights.
Edge descriptions: no edge descriptions.
Edge weights: no edge weights.
Edge costs: no edge costs.
Adjacency list (out): 1 = [2], 2 = [3], 3 = [4], 4 = [1]
Adjacency list (in): 1 = [4], 2 = [1], 3 = [2], 4 = [3]
Graph is directed.
0 个评论
Sage Beard
2020-5-23
People create the graph using a symbolic math toolbox that looks able graph. Many students of the college learn to create this from is college-paper.org legit and give class to others to teach them.
0 个评论
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!