EXPONENTIAL DISTRIBUTION simple doubt

2 ビュー (過去 30 日間)
Lakshit Chugh
Lakshit Chugh 2020 年 5 月 5 日
回答済み: Ameer Hamza 2020 年 5 月 5 日
i have lambda=0.1 so in exprnd(mu) do i have to put 0.1 or 1/0.1?
  1 件のコメント
KSSV
KSSV 2020 年 5 月 5 日
mu is a mean value...you substitue your mean value what you have.

サインインしてコメントする。

回答 (1 件)

Ameer Hamza
Ameer Hamza 2020 年 5 月 5 日
The pdf of exponential distribution is defined as. However, MATLAB defines it in term of its mean value μ as shown here: https://www.mathworks.com/help/releases/R2020a/stats/exponential-distribution.html#brn2ivz-25. If you are given value of λ then you can first convert into μ using and then call exprnd.

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by