I'm using matlab to create a matrix of random integers 1 to 5 that has each integer an equal amount of times, such that there are an equal number of 4s in the matrix as there are 5s. Weighting the values equally does not work as it still produces unequal occurrences of each number. Can anyone help?
Aucun commentaire:
Enregistrer un commentaire