Info

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

In my above code I added LEACH protocol from line 117 to make clusters in P1(1,1)...​..........​.....but I can't able to do so..............plz help me I don't know what kind of mistake i done here

1 view (last 30 days)
plz make change in my code so that clusters are formed inside box P1(1,1)........I got an error while running my program plz remove an error so that clusters would be made in P(1,1)
  2 Comments
James Ryan
James Ryan on 10 Sep 2016
  1. It seems a little odd that you are using "for" structures that only do one pass. For example, "for i = 2:2" could just be "i = 2;" (with no matching end, of course).
  2. I don't see any connection between P1 and the other code near line 117. Can you possibly create a much shorter piece of code which demonstrates the problem you are having?
kiranpreet kaur
kiranpreet kaur on 11 Sep 2016
actually sir i make some changes in above code but i gor an error.......plz put out me from that error.....so that i could make clusters in P1(1,1)

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!