I’d like to generate a random number in a certain interval using an exponential distribution. My problem is that if I use exprnd I can’t control the interval, I can only give a mean value, but that doesn’t suit my needs.
Is there another function or is there some trick that I have to use?
I’d like to generate a random number in a certain interval using an exponential
Share
Does this help? (or have I misunderstood the problem?)