Info

This question is closed. Reopen it to edit or answer.

How to print coordinates of a cluster Head and its member nodes in a text file?

1 view (last 30 days)
Hello
I need to print x,y coordinates of Cluster Head and its member nodes with minimum distance of each member node from CH in a single txt file.
IN Leach protocol CH changes over time. I need to print CH id each time it change.
Minimum distance is calculated using Euclidean distance.
Thanks

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!