Generate random number from a two-parameter exponential distribution
Ältere Kommentare anzeigen
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 Kommentare
Torsten
am 21 Mär. 2019
Your function f does not depend on t ?
Alexis Stevenson
am 21 Mär. 2019
Torsten
am 21 Mär. 2019
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
am 21 Mär. 2019
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Univariate Discrete Distributions finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

