Generate sample with a mixed exponential distribution

Hello, I am trying to generate a random sample with an available mixed exponential distribution. It is a custom continuous distribution. I know there is "random" function in Statistic Toolbox, but there is no mixed exponential dist in the distname option. What can I do? May I define a custom distribution function object?
Best, Joy

回答 (1 件)

Star Strider
Star Strider 2015 年 7 月 26 日

0 投票

You have a few options, among them makedist and fitdist. Then this version of random.
I don’t have a lot of experience with it, but it should do what you want.

カテゴリ

ヘルプ センター および File ExchangeRandom Number Generation についてさらに検索

質問済み:

2015 年 7 月 26 日

回答済み:

2015 年 7 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by