Select base station in wsn

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

 Accepted Answer

Stalin Samuel
Stalin Samuel on 26 May 2016
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 Comment

Thanks, I need Matlab code for this please.

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!