Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to Simulate Slotted aloha protocol?

1 vue (au cours des 30 derniers jours)
amit sikder
amit sikder le 30 Sep 2015
Clôturé : John D'Errico le 7 Mar 2019
I am trying to simulate slotted aloha protocol. But need some direction how to start. The program is like below - For instance, let's assume that there are 10 computers and 50 slots of time. At slot 5, let us assume that there are two computers, C1 and C2 which wanted to access the channel. One of the computers, C1, will be given access to the channel while the other one, C2, will be provided a new slot time between 6 and 50 (let's assume it is 20). At slot 20, the program will check how many computers, if any, are requesting access to the channel (in addition to C2). This is basically done by running the random function and getting a number between 0 and X in addition to C2. If there are multiple of them, then the program will give access to one of the computers at random. If there is only C2 making the request (meaning that random function returned 0), it will give C2 the channel.
  1 commentaire
haya
haya le 7 Mar 2019
hii
did you get any solution???

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by