How to plot directed connected nodes ?

2 visualizaciones (últimos 30 días)
Mahmoud Ahmed
Mahmoud Ahmed el 10 de Jun. de 2017
Comentada: KSSV el 10 de Jun. de 2017
I have 10 nodes from N1 to N10 are distributed over square area with size 2km*3km .. the 3km length of the square area is divided into 4 lines .. Each line is separated with 1km from the next line .. Node 1 is on the middle of the 1st line .. Node 2,3 and 4 are on the 2nd line and each node is separated with 1km from the node besides it .. Node 5,6 and 7 are on the 3rd line and each node also is separated with 1km from the node besides it .. Node 8,9 and 10 are on the 4th line and each node is also separated with 1km from the node besides it .. The sources of links are from nodes [2 3 4 5 6 7 8 9 10] directed to nodes [1 1 1 2 3 4 5 6 7] How can I plot this topology?
  2 comentarios
Walter Roberson
Walter Roberson el 10 de Jun. de 2017
Please post a sketch of what you would like it to look like.
KSSV
KSSV el 10 de Jun. de 2017
If you have your x,y coordinates plot(x(nodes1),y(nodes2)) shall work.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Directed Graphs en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by