Hi, i need code for selecting base station from n nodes (for example 10 node) depending on higher energy value

 Akzeptierte Antwort

Stalin Samuel
Stalin Samuel am 26 Mai 2016

0 Stimmen

If you have 10 nodes then possibly you will have 10 energy values associated with the nodes.So get the index of maximum value.That will acts as base station

Weitere Antworten (0)

Kategorien

Mehr zu WSNs finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by