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

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

Asked:

on 1 Aug 2014

Commented:

Jan
on 4 Aug 2014

Community Treasure Hunt

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

Start Hunting!