plz see this code i have to create 10 gateway nodes in this code...plz tell me how to create
how to create a 10 gateway nodes in a wsn
2 views (last 30 days)
Show older comments
i have to create 10 gateway nodes......so that CH data would be recieved by gateway nodes........plz reply me as soon
4 Comments
Walter Roberson
on 20 Nov 2016
Your code is hard to read.
We need documentation of what data structures need to be set up for a gateway node. We need to know how to determine the x coordinates for the gateway nodes. For example, if you put them all at the same spot then that would satisfy the "straight line" requirement.
Have you considered breaking your code up into functions?
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!