Deploy Sensor Nodes Inside a Circle with n_sectors
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I want to randomly deploy N sensor nodes inside circle with radius R=500, that is divided evenly into n_sectrors. Also I want the distance between any two adjacent nodes not exceed 50m. How can I do this?
2 comentarios
Walter Roberson
el 13 de Abr. de 2018
What shape are the sectors?
Is N, number of sensor nodes, the same as n for n_sectrors -- that is, is exactly one node to go into each sector?
When you say "adjacent nodes" do you mean "nearest neighbour", or do you mean "adjacent sectors" ?
If the requirement is for adjacent sectors, then you are biasing the nodes to be near the center of the circle. For example with 8 nodes, the widest separation for adjacent nodes would be if you were to construct a regular octagon with edge length 50. According to https://rechneronline.de/pi/octagon.php that would fit within a circumcircle of radius 65.328, using up only about 1/57th of the available area of the circle of radius 500.
Respuestas (2)
Walter Roberson
el 15 de Abr. de 2018
There is a discussion with code at https://www.mathworks.com/matlabcentral/answers/324920-scatter-randomized-points-with-circles in which the points are placed with a minimum distance; you could reverse the test to get maximum distance.
0 comentarios
Tamoor Shafique
el 31 de Ag. de 2020
Could this sectoring work be done in a 3D WSN deployment? is there any code for Balanced load distribution in 3D WSN deployment
4 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!