Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How to Simulate Slotted aloha protocol?

1 visualización (últimos 30 días)
amit sikder
amit sikder el 30 de Sept. de 2015
Cerrada: John D'Errico el 7 de Mzo. de 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 comentario
haya
haya el 7 de Mzo. de 2019
hii
did you get any solution???

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by