selection of cluster head in wireless sensor networks

1 visualizzazione (ultimi 30 giorni)
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 Commenti
SARAH LONER
SARAH LONER il 19 Gen 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 il 2 Nov 2020
Mam can you please help me how to write matlab code for WSN by using cluster head

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su WSNs in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by