Generate random values within a given interval

조회 수: 6 (최근 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