How to give number to the node randomly
Ältere Kommentare anzeigen
I placed 50 random node in the area of 180*40.
Now how to give number to that random node from 1-50 and also how to calculate the coordinates of each random node.
4 Kommentare
TADA
am 8 Dez. 2018
You Can Use randperm To Generate A Vector Of 1-50 ordered Randomly.
As For Coordinates, If I Get You Right, It Depends On How The Area Is Divided.
Sushree Patra
am 8 Dez. 2018
Jan
am 9 Dez. 2018
I do not understand the question. What does "give number" mean? If you have placed the "nodes" (what ever this means) already, you do have the corrdinates. So what do you want to calculate?
Sushree Patra
am 9 Dez. 2018
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
