randi 0 to 3 (2bits)
Afficher commentaires plus anciens
How can I define a random sequence of 16384 whole numbers between 0 and 3 and each integer represents two bits?
Réponse acceptée
Plus de réponses (1)
Matt J
le 12 Avr 2020
randi([0,3],16384,1)
Catégories
En savoir plus sur Clustering dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!