mercredi 22 avril 2015

how to generate a random matrix in matlab with each value reapating twice?

i need to make a random matrix, lets say size 3X4, where the values will be between 1-6, and each value will be reapeted exactly twice (in a random location in the matrix). how can i do that? thanks




Aucun commentaire:

Enregistrer un commentaire