Info

This question is closed. Reopen it to edit or answer.

How to find a residual energy for this nodes ?

1 view (last 30 days)
Matlab111
Matlab111 on 7 Jan 2015
Closed: Walter Roberson on 28 Aug 2015
sir, i have attached my code below please go through it and run this code. In that i have highlighted like this
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Finding the residual energy for neighborhood nodes
I3 = nearestneighbour(X(cluster),add_1 , 'r', 50)
n3 = length(I3);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
sir, by using 'I3' i can get nearest neighbor nodes to that cluster head and now i want to find the residual energy for those nodes, so please help me in this case.
Note: After running my code you will get "I3" that is nearest neighbor nodes of 'X' and now i want find the residual energy of that nodes.
  6 Comments
Matlab111
Matlab111 on 9 Jan 2015
Edited: Matlab111 on 9 Jan 2015
sir,Geoff Hayes,Image Analyst- This's the final problem i'm facing in my code so please try to help me sir.
Matlab111
Matlab111 on 11 Jan 2015
Edited: Matlab111 on 11 Jan 2015
please reply me, i'm waiting for your answer....

Answers (0)

Community Treasure Hunt

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

Start Hunting!