Find n∗, the smallest value of n for which the function poissonpmf(n,n) shown in Example 2.44 reports an error. What is the source of the error? Write a Matlab function bigpoissonpmf(alpha,n) that calculates poissonpmf(n,n) for values of n much larger than n∗.
Example 2.44
Write a Matlab function that calculates the PMF of a Poisson (α) random variable.