how to create random combination?
Ältere Kommentare anzeigen
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 Kommentar
the cyclist
am 23 Feb. 2014
You haven't been clear or complete enough in your description. I can't guess what you want. Please add more details.
Antworten (1)
Azzi Abdelmalek
am 23 Feb. 2014
repmat(randperm(3),1,7)
Kategorien
Mehr zu Random Number Generation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!