Generate random number from a two-parameter exponential distribution
이전 댓글 표시
Hello everybody,
I am looking for a way to easily generate random numbers from a two-parameter exponential distribution. The probability density function is:
. I am aware of expand() but it does not seem to include the two-parameter distribution.
. I am aware of expand() but it does not seem to include the two-parameter distribution.Do you have any idea how I could achieve that?
Thank you very much.
Alexis
댓글 수: 4
Torsten
2019년 3월 21일
Your function f does not depend on t ?
Alexis Stevenson
2019년 3월 21일
Torsten
2019년 3월 21일
What is the support of f ?
I ask because if support(f) = IR+, f is only a probability density function if gamma = 0.
Alexis Stevenson
2019년 3월 21일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Univariate Discrete Distributions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

