Ok, i don't need a loop. But I want to know if the method is right! I mean, the average value of energy at time t1 is the averag...
Answered 1 year ago
Can I calculate throughput in the way I suggest in the comment?
I have a network with 10 nodes, each of which knows exactly the distance from other nodes. Suppose node 1 starts to transmit. Al...
Asked 2 years ago
I have to simulate a network with n nodes, each of which periodically wakes up and sends a HELLO message in which it indicates w...
2 years ago
At the end of simulation a vector of size tmax (residual_energy) is generated: it contains all the values of residual energy a...
Asked 1 year ago
At the end of simulation I have the packet sent number as well as packets lost. Is it correct determine the throughput in this w...
Join the conversation