Info
この質問は閉じられています。 編集または回答するには再度開いてください。
how could I find specified number of permutation of a vector ?
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
Walter Roberson
2019 年 1 月 1 日
Duplicated by later https://www.mathworks.com/matlabcentral/answers/437829-specified-numbers-of-random-permutation-of-a-vector which has an answer.
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!