How to calculate distance of points with a trajectory

4 vues (au cours des 30 derniers jours)
Kambiz Kousheshy
Kambiz Kousheshy le 18 Juin 2016
Commenté : Mouna Elamari le 4 Juin 2022
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)

Réponses (1)

Pravija Raj
Pravija Raj le 16 Nov 2018
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.

Catégories

En savoir plus sur WSNs dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by