Borrar filtros
Borrar filtros

Generate random values within a given interval

3 visualizaciones (últimos 30 días)
Nuwandika
Nuwandika el 5 de Jul. de 2018
Respondida: Bernhard Suhm el 4 de Ag. de 2018
How to generate random numbers which lie in a specific range and how to fit this generated values to gamma distribution?
  2 comentarios
Anton Semechko
Anton Semechko el 5 de Jul. de 2018
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 el 6 de Jul. de 2018
Sounds like the truncate command would also be helpful if the numbers lie in a specific range.

Iniciar sesión para comentar.

Respuestas (1)

Bernhard Suhm
Bernhard Suhm el 4 de Ag. de 2018
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