samedi 1 août 2020

generating gamma random variables in matlab

I need to know if we have a array of scale and shape parameters and want to generate n (it could be 10^6 for instance) gamma random variables for each elements of pair scale and shape parameters array but without a loop or for, then what can we do? Is there any trick because apparently there is no way at least in matlab helps? thanks in advance...




Aucun commentaire:

Enregistrer un commentaire