how to create a 10 gateway nodes in a wsn

6 vues (au cours des 30 derniers jours)
kiranpreet kaur
kiranpreet kaur le 20 Nov 2016
Commenté : Walter Roberson le 20 Nov 2016
i have to create 10 gateway nodes......so that CH data would be recieved by gateway nodes........plz reply me as soon
  4 commentaires
kiranpreet kaur
kiranpreet kaur le 20 Nov 2016
sir i send a new code where i mentioned gateway as "g_nodes". I have to create these gateway nodes at y=200 fixed in a straight line
Walter Roberson
Walter Roberson le 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?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur WSNs dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by