Borrar filtros
Borrar filtros

How to calculate distance of points with a trajectory

1 visualización (últimos 30 días)
Kambiz Kousheshy
Kambiz Kousheshy el 18 de Jun. de 2016
Comentada: Mouna Elamari el 4 de Jun. de 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)

Respuestas (1)

Pravija Raj
Pravija Raj el 16 de Nov. de 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.

Categorías

Más información sobre WSNs en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by