Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
how could I find specified number of permutation of a vector ?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Walter Roberson
am 1 Jan. 2019
Duplicated by later https://www.mathworks.com/matlabcentral/answers/437829-specified-numbers-of-random-permutation-of-a-vector which has an answer.
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!