selection of cluster head in wireless sensor networks

1 view (last 30 days)
I have deployed 100 nodes in a network...now I have to randomly select 10 nodes as cluster heads(using Euclidean distance)..... ch1: random selection among 100 nodes...... ch2: calculate Euclidean distance from ch1 to all other nodes.among them pick the maximum value and choose that node as ch2.... ch3: take the next maximum value and calculate distance from ch3 to ch2 and also from ch3 to ch1.then check for the following condition if(dist>200)elect that node as ch3 else take the next maximum value and repeat the process.........the above process should be repeated for the selection of 10 cluster heads....can anyone help me in creating the LOOP..
  3 Comments
SARAH LONER
SARAH LONER on 19 Jan 2020
Mam can u help me how to get number of cluster head nd i need to calculate fitness for that number cluster head
Naveena Mallela
Naveena Mallela on 2 Nov 2020
Mam can you please help me how to write matlab code for WSN by using cluster head

Sign in to comment.

Answers (0)

Categories

Find more on WSNs in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!