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!