Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

how could I find specified number of permutation of a vector ?

1 vue (au cours des 30 derniers jours)
mehdi J
mehdi J le 1 Jan 2019
Clôturé : Walter Roberson le 1 Jan 2019
hi everybody,
perms(v) returns a matrix containing all permutations of the elements of vector v, but I need just specified number of this matrix for example 1000 permutations. there is not any problem when the number of elements of vector is low but when it is high I face with this message "Maximum variable size allowed by the program is exceeded."
  3 commentaires
mehdi J
mehdi J le 1 Jan 2019
random is better

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by