# matlab coding

hi there!

cell#: 07768933372

name: usman

“ARQ TECHNIQUES ON TCP PERFORMANCE”

You have to implement any of the following 3 kinds of ARQ (automatic retransmission)

1: STOP N WAIT ARQ and any one of the following 2 types:

2: GO BACK N ARQ

3: Selective-Repeat

In Matlab by using the AWGN channel (I have code for this Channel) and in the output of these ARQ codes I have to show the Packet error rate (bit error rate) because I have TCP code as well and the input to that TCP code is Packet error rate which I will get from both of the above mentioned ARQ codes and compare the Throughput of TCP for both of them.

So All I need from you is &quot;STOP N WAIT ARQ and one of the either GO BACK N ARQ or Selective Repeat ARQ in Matlab by using the AWGN channel (I have code for both of these Channel). You can find out the theory of these techniques on the internet.

While making the codes for STOP N WAIT ARQ and one of the either GO BACK N ARQ or Selective Repeat ARQ keeps the following things under considerations and should be there in CODE:

No. of retransmissions

Timer (timeout setting)

ACK (acknowledgement)

NACK (negative acknowledgement)

etc.

Actually from both ARQs outputs i.e Packet Error rate (bit error rate) we will see which one is better i.e the one which has less packet error rate / less no. of dropped packets and then see the effect on TCP by applying these packet error rates straight forward as a input of TCP code which I already have.

I will give you AWGN channel and TCP (Reno Version) codes.

FINALLY YOU HAVE TO DRAW THE FOLLOWING GRAPHS in Matlab:

1) Along Y-Axis: TCP Throughput

Along X-Axis: different no. of retransmissions set in ( for example at first set the retransmission value 3 and then set it 5) stop n wait ARQ &amp; Go back n ARQ (There will be 4 curves 2 for each, for the corresponding two different max no. of retransmission set values for example 3 &amp; 5 for both ARQs)

2) Along Y-Axis: TCP Throughput for both stop n wait ARQ &amp; one of the either GO BACK N ARQ or Selective Repeat ARQ (There will be 2 curves one for each)

Along X-Axis: BER (bit error rate)

3) Along Y-Axis: [url removed, login to view] Retransmission for stop n wait ARQ &amp; one of the either GO BACK N ARQ or Selective Repeat ARQ (There will be 2 curves one for each)

Along X-Axis: BER (bit error rate)

4) Along Y-Axis: No of dropped packets for stop n wait ARQ &amp; one of the either GO BACK N ARQ or Selective Repeat ARQ (There will be 2 curves one for each)

Along X-Axis: BER (bit error rate)

Kemahiran:

Tentang Majikan:
( 0 ulasan ) Surrey, United Kingdom

ID Projek: #308648

vedenev