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 次查看(过去 30 天)
显示 更早的评论
i have to create 10 gateway nodes......so that CH data would be recieved by gateway nodes........plz reply me as soon
4 个评论
Walter Roberson
2016-11-20
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?
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!