How to find a residual energy for this nodes ?
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示
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 件のコメント
Geoff Hayes
2015 年 1 月 8 日
Arul - how are you defining residual energy of a node?
Image Analyst
2015 年 1 月 8 日
Why is your code called mathwork_final_test_1? Is this a question on your final exam for a course? Or homework? If so, tag it as such.
Matlab111
2015 年 1 月 8 日
回答 (0 件)
この質問は閉じられています。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!