Difference between randi(1,M) and randi() in for loop
Afficher commentaires plus anciens
Are there any difference between A and B?
randi(1,M);
and
for k=1:M
randi(1,1);
end
1 commentaire
Azzi Abdelmalek
le 19 Mai 2016
Your question is not clear. Your for loop doesn't do anything
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Random Number Generation 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!