Generate random values within a given interval

3 ビュー (過去 30 日間)
Nuwandika
Nuwandika 2018 年 7 月 5 日
回答済み: Bernhard Suhm 2018 年 8 月 4 日
How to generate random numbers which lie in a specific range and how to fit this generated values to gamma distribution?
  2 件のコメント
Anton Semechko
Anton Semechko 2018 年 7 月 5 日
See documentation for gamma distribution. Examples of how to draw random samples from, and fit data to, gamma distribution are also provided there.
Jeff Miller
Jeff Miller 2018 年 7 月 6 日
Sounds like the truncate command would also be helpful if the numbers lie in a specific range.

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

回答 (1 件)

Bernhard Suhm
Bernhard Suhm 2018 年 8 月 4 日
If you need further assestiance, please ask a follow-up question with additional detail.

Community Treasure Hunt

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

Start Hunting!

Translated by