How to calculate distance of points with a trajectory

4 ビュー (過去 30 日間)
Kambiz Kousheshy
Kambiz Kousheshy 2016 年 6 月 18 日
コメント済み: Mouna Elamari 2022 年 6 月 4 日
Hi. I'm stuck on a part of my Wireless sensor network final thesis. I hope someone help me. There is some sensors that randomly distributed in 200*200 meter field. Also a Mobile sink that shows with RED DOT in attached figure. It moves among sensors to harvest their data from their Cluster HEAD. Question: Mobile sink decide to moves from Point A to B , i want all sensors with distance less that 16 meter from mobile sink trajectory changes their type to "RN" , but even i don't know how to code this. is there any function or mathematical solution? Something like attached figure, but it's incorrect.
Blue Points: Rendezvous nodes Circles: Shows Clustering Red Point: Mobile Sink
additional: In attached figure mobile sink moves from Point (x=0,y=100) to Point (x=200,y=100) and all sensors with distance less than 16m with trajectory shows as BLUE Point. (all i want is some code that do this for me)
  1 件のコメント
Mouna Elamari
Mouna Elamari 2022 年 6 月 4 日
can you provide to me this code

サインインしてコメントする。

回答 (1 件)

Pravija Raj
Pravija Raj 2018 年 11 月 16 日
Hi,
I'm stuck on a part of my Wireless sensor network final thesis. Do you have the code for the problem you mentioned above. I need to create the same as shown in your figure above( cluster-based).
Can you please share me the code, it will be a great help.

カテゴリ

Help Center および File ExchangeWSNs についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by