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

 Respuesta aceptada

Stalin Samuel
Stalin Samuel el 26 de Mayo de 2016

0 votos

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

1 comentario

Khaled Sharaf
Khaled Sharaf el 26 de Mayo de 2016
Thanks, I need Matlab code for this please.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre WSNs en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 26 de Mayo de 2016

Comentada:

el 26 de Mayo de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by