Deploy Sensor Nodes Inside a Circle with n_sectors
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
Walter Roberson
2018-4-13
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.
回答(2 个)
Walter Roberson
2018-4-15
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 个评论
Tamoor Shafique
2020-8-31
Could this sectoring work be done in a 3D WSN deployment? is there any code for Balanced load distribution in 3D WSN deployment
4 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!