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!