how to create random combination?
이전 댓글 표시
How to create random combination of three integer of length 21. for example ans=1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 and next time answer should be in random order.
댓글 수: 1
the cyclist
2014년 2월 23일
You haven't been clear or complete enough in your description. I can't guess what you want. Please add more details.
답변 (1개)
Azzi Abdelmalek
2014년 2월 23일
repmat(randperm(3),1,7)
카테고리
도움말 센터 및 File Exchange에서 Random Number Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!