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 Kommentare

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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Bernhard Suhm
Bernhard Suhm am 4 Aug. 2018

0 Stimmen

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

Gefragt:

am 5 Jul. 2018

Beantwortet:

am 4 Aug. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by