Info
此问题已关闭。 请重新打开它进行编辑或回答。
how could I find specified number of permutation of a vector ?
4 次查看(过去 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!