MATLAB: Create vertex with edges.

edgesgraph

I am new in Matlab that's why I want to know, how to create a graph with edges and also how to access those edges. please help me.

Best Answer

Your question is so vague that it's impossible to answer it properly.
The only thing we can do is point you to the graph documentation or possibly digraph if your graph is directed. There are plenty of examples there that show how to create, edit, display and work with graphs.