Info

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

i added LEACH in first box ie. P1(1,1) to make clusters inside it..........but I got an error....plz make change in my code to sought out an error

2 views (last 30 days)
i got an error:
Undefined function or variable 'min_dis_cluster'.
Error in grid11 (line 262)
leach(C(min_dis_cluster).id).E =leach(C(min_dis_cluster).id).E- (
(receiver_energy + Data_Aggregation_Energy)*K_bit_data_packet );
plz make change in my code as soon as possible..............

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!