plz gave me the source code of the below problem in MATLAB or any other language
Write a simulation program for GBN ARQ using MATLAB(preferably).The window size (N) is 10and assume that there are 100packets in transport layer that are to be sent as per GBN policy.Let P be the probability [rand(0,1)] that determines the loss of packet.If P>0.9 then the packet is lost/corrupted otherwise it is successfully received. The timeout slot is 5 sec?
I am very thankful to u.
bye