フィルターのクリア

Connections among nodes in simulated wireless network

1 回表示 (過去 30 日間)
Rob
Rob 2013 年 4 月 17 日
コメント済み: mariyakkutty v v 2018 年 2 月 1 日
I have N nodes in a simulated network. All nodes n (1<= n <=N) are randomly positioned in XY plane. Every node n has it's own Xn and Yn.
I need to model connections among all nodes. Connection is simple - just a link between nodes.
But... not all nodes are connected to all other nodes. Because each node has a limited Wireless signal range, each node can establish connection with some neighbor nodes, but not with all of them. This depends on distance between nodes.
My idea is: Before doing a simulation, I'd run init procedure. This init proc would randomly fix all Xn and Yn. Then would calculate distances from node n to all other nodes and enable connections between node n and all other nodes within Wireless signal range. All other connections would be disabled.
My question is:
How can I implement all this connections among nodes in Simulink with Simevents? And how can I enable or disable them? Any idea of any better approach?
  1 件のコメント
mariyakkutty v v
mariyakkutty v v 2018 年 2 月 1 日
i just want to create 10 random nodes in xy plot and each nodes should have connection with the other.. can u help pls...

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSimEvents についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by