how to create random combination?
Mostrar comentarios más antiguos
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 comentario
the cyclist
el 23 de Feb. de 2014
You haven't been clear or complete enough in your description. I can't guess what you want. Please add more details.
Respuestas (1)
Azzi Abdelmalek
el 23 de Feb. de 2014
repmat(randperm(3),1,7)
Categorías
Más información sobre Random Number Generation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!