How to reduce the variable size.I have attached my program. Output error- Maximum variable size allowed by the program is exceeded.
조회 수: 2 (최근 30일)
이전 댓글 표시
How to reduce the variable size.I have attached my program. Output error- Maximum variable size allowed by the program is exceeded.
댓글 수: 4
답변 (1개)
Walter Roberson
2015년 9월 14일
As you were shown before: http://uk.mathworks.com/matlabcentral/answers/236509-programming-to-find-out-all-possible-combination-of-numbers-a-b-c-d-in-which-0-a-b-c-d-90#answer_190535
Just change the 4 to 5.
댓글 수: 2
Walter Roberson
2015년 9월 16일
편집: Walter Roberson
2015년 9월 16일
>> ABCDE = nchoosek(uint8(1:89),5);
>> size(ABCDE)
ans =
41507642 5
You can extract the individual columns if you need to,
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!