Exponential Distribution for random number
3 次查看(过去 30 天)
显示 更早的评论
Hi, How can i generate an exponential distributed random integer from the interval [1 16]. Thank you so much.
0 个评论
采纳的回答
Star Strider
2015-11-7
I need a bit of clarification. Are the means on the interval [1 16], do you want the output to be on the interval 1 16, or a row vector of 16 exponentially distributed random variables? You have to specify a mean (or an array of means) in the second and third instances. (You can do any of these easily enough, but the output are no longer strictly exponentially distributed in the second instance.)
6 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!