How to extract data of different wireless node from a structure then plot that data of each indiviual node in different colour and compute the neighbourhood node to one designated node.
2 views (last 30 days)
Show older comments
Hi all,
I need the guidance from experts as I have a data of different wireless nodes mobility data in a data structure and I want to use for loop for indexing the data so that I can extract the X_position, Y_position, Time and Speed Data of each node using for loop.
Secondly I want to plot all (X_position,Y_position) data of different node at different time in different colors to recognize each node in a plot. The area size is 100x100.
Thirdly on the basis of their transmission range which in my case is 10. I want to find all the neighborhood of Node1 within its transmission range with in that time interval and similarly for every node i.e.(Node1 to Node10).
Fourthly I want to keep Node1 as source node and Node2 as its nearest destination node and it draws a line to nearest destination node and similarly Node2 to its nearest Node3 and Node3 to nearest Node4 and so on...
I tried it but it draw too many lines and I am not getting how to go through this issue .I only want line from source to its neighbors in the given time interval and it updated as it goes with time. From neighbor nodes of source node to its nearest destination node.
I have attached the code and you can guide me accordingly. I will be thankful for your kind and urgent reply.
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!