i have created a wireless sensor grid in matlab. i want to deploy the nodes in them. how can i do that? Please help
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Parveen verma
le 8 Juin 2015
Réponse apportée : Stalin Samuel
le 9 Juin 2015
i have to create a wireless sensor network 4*4 grid with 100 nodes randomly deployed in each cluster. i want to then select the cluster head from each cluster on the basis of highest energy priority. how i can do that. please help
1 commentaire
Walter Roberson
le 8 Juin 2015
We have no idea what your data representation is. We have no idea how you represent energy measurements. We have no idea what would be necessary in order to loop over your simulated nodes.
I think you are asking about something you should be researching, namely how can nodes "elect" a cluster head. This Answers forum is about how to use MATLAB, not about how to find research papers on networking protocols.
Réponse acceptée
Stalin Samuel
le 9 Juin 2015
- For exaple consider 4*4 grid in matlab graph
- by using the axis position randomly assign 100 nodes &100 enegry values
- Then select the cluster head%example code
no_mob_nodes =N
for i = 1:str2double(no_mob_nodes)
start_x = A1(i)
start_y = A2(i)
node{i}.position = [start_x start_y];
node{i}.Energy = 0;
node{i}.Req = 0;
node{i}.f_trate = 0;
node{i}.band = 0;
node{i}.rate = 0;
end
0 commentaires
Plus de réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!