필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 1 (최근 30일)
mehdi J
mehdi J 2019년 1월 1일
마감: Walter Roberson 2019년 1월 1일
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
mehdi J
mehdi J 2019년 1월 1일
random is better

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by