Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Help with a MATLAB simulation problem. Consider a Wi-Fi access point (AP) servicing downstream traffic using a CSMA-like (random access) MAC protocol. Assume that the

Help with a MATLAB simulation problem.

image text in transcribed

image text in transcribed

Consider a Wi-Fi access point (AP) servicing downstream traffic using a CSMA-like (random access) MAC protocol. Assume that the inter-arrival time between any two consecutive frames arriving at the AP is exponentially distributed with mean 1/A 0.5 minute. When a frame arriving to the AP finds the AP busy servicing other frames that arrived ahead of it, the frame is queued. When the frame reaches the head of the queue, it then gets serviced/transmitted using the random access protocol. Assume that the time it takes to service one frame is exponentially distributed with mean 1/ minute. Let Ti denote the amount of time frame i spends in the Wi-Fi network. That is, T consists of the queueing delay plus the service/transmission delay. In this problem, we are interested in estimating, using MATLAB simulations, the parameter -Elwi where W-T1 + T2 + + T, and p-10 A simulation run would then consist of (1) simulating the system for some time until the first p frames are serviced, and (2) measuring the amount of time, Ti, each of these first p frames spends in the system The total amount of time, W TT2 +... + Tp, these p frames spend in the system is the outcome of the l. For each of the following four estimators, run MATLAB smulations to estimate . In one graph, plot the estimated value of under each of the four estimators as a function of the number of simulation runs, n. In another different graph plot the normalized (with respect to the estimated value) 90% confidence interval width, b, under each of the four estimators as a function of the number of simulation runs, n. Label your graphs clearly (xlabel, ylabel, use different line styles/marks/colors for the different. estimators, etc.) Consider a Wi-Fi access point (AP) servicing downstream traffic using a CSMA-like (random access) MAC protocol. Assume that the inter-arrival time between any two consecutive frames arriving at the AP is exponentially distributed with mean 1/A 0.5 minute. When a frame arriving to the AP finds the AP busy servicing other frames that arrived ahead of it, the frame is queued. When the frame reaches the head of the queue, it then gets serviced/transmitted using the random access protocol. Assume that the time it takes to service one frame is exponentially distributed with mean 1/ minute. Let Ti denote the amount of time frame i spends in the Wi-Fi network. That is, T consists of the queueing delay plus the service/transmission delay. In this problem, we are interested in estimating, using MATLAB simulations, the parameter -Elwi where W-T1 + T2 + + T, and p-10 A simulation run would then consist of (1) simulating the system for some time until the first p frames are serviced, and (2) measuring the amount of time, Ti, each of these first p frames spends in the system The total amount of time, W TT2 +... + Tp, these p frames spend in the system is the outcome of the l. For each of the following four estimators, run MATLAB smulations to estimate . In one graph, plot the estimated value of under each of the four estimators as a function of the number of simulation runs, n. In another different graph plot the normalized (with respect to the estimated value) 90% confidence interval width, b, under each of the four estimators as a function of the number of simulation runs, n. Label your graphs clearly (xlabel, ylabel, use different line styles/marks/colors for the different. estimators, etc.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

What is operatiing system?

Answered: 1 week ago