In this problem, we employ the result of Problem 13.5.8 as the basis for a function s=newarrivals(lambda,T)
Question:
• Generate a sample value of N, a Poisson (λT) random variable.
• Given N = n, generate {U1,...,Un}, a set of n uniform (0, T) random variables.
• Sort {U1,...,Un} from smallest to largest and return the vector of sorted elements.
Write the program newarrivals.m and experiment to find out whether this program is any faster than poissonarrivals.m.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Probability and Stochastic Processes A Friendly Introduction for Electrical and Computer Engineers
ISBN: 978-1118324561
3rd edition
Authors: Roy D. Yates, David J. Goodman
Question Posted: