How do you calculate N random numbers that are weighted without repeats in Matlab?
I'm trying to calculate 5 numbers at random. The numbers 1-35 have set probability weights that are assigned to each number. I'm wondering how, in Matlab, to compute 5 random numbers with weights WITHOUT repeats.
Aucun commentaire:
Enregistrer un commentaire