Deploy Sensor Nodes Inside a Circle with n_sectors
2 ビュー (過去 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!