Exponential Distribution for random number

조회 수: 3 (최근 30일)
Aftab Ahmed Khan
Aftab Ahmed Khan 2015년 11월 7일
댓글: Star Strider 2015년 11월 7일
Hi, How can i generate an exponential distributed random integer from the interval [1 16]. Thank you so much.

채택된 답변

Star Strider
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
Aftab Ahmed Khan
Aftab Ahmed Khan 2015년 11월 7일
Hi, Thank you for it. Take care & good nite.
Star Strider
Star Strider 2015년 11월 7일
My pleasure.
Thank you. You, too!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by