Let the random variable X denote the number of customers arriving in a certain store per hour, which is modelled as a Poisson process with the rate λ= 4 such that X~ Poiss(4). Now, please compute the probability that k customers visit the store in a day where k = 0; 1; 2,3,…. 200. That is, you have to compute P( =k), k= 0,1,2,3,….200. Where denotes the number of customers arriving a certain store in a day. Please note that X is not the same as . Then, you have to plot a 2D figure where x-axis denotes the number of customers, k = 0; 1; 2,3,…..200, and y-axis denotes the computed probabilities. You have to submit both of your MATLAB codes (a script with .m extension) and the plotted figure (a eps image with .eps extension).
This question belongs to MATLAB software and discusses about application of MATLAB to probability and statistics and to compute the probability of a random variable.
Download Full Solution