Generate random values within a given interval

How to generate random numbers which lie in a specific range and how to fit this generated values to gamma distribution?

댓글 수: 2

See documentation for gamma distribution. Examples of how to draw random samples from, and fit data to, gamma distribution are also provided there.
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일

0 개 추천

If you need further assestiance, please ask a follow-up question with additional detail.

카테고리

도움말 센터File Exchange에서 Gamma Functions에 대해 자세히 알아보기

질문:

2018년 7월 5일

답변:

2018년 8월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by