# (solution) How do I do this on Matlab? Generate a stream of i.i.d. random

How do I do this on Matlab?

Generate a stream of i.i.d. random variables T = {Tn | 1 ? n ? N} whichare exponentially distributed with parameter (intensity) ? = 0.1, for each N =1000, 5000, 10000.(a) Use the resulting streams to compute and exhibit the probability density histogramsfor T, over the intervals (i, 1 + i], for i = 0, 1, . . . , 19. Also, comparethe histogram levels with those derived analytically.