selection of cluster head in wireless sensor networks
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
SARAH LONER
el 19 de En. de 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
el 2 de Nov. de 2020
Mam can you please help me how to write matlab code for WSN by using cluster head
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!