How to select a random value from a matrix?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
How to select a random value from a matrix?
A = [1 2 3 4 5
6 7 8 9 10]
1 Commento
Jan
il 27 Set 2012
This sounds like a homework question. I suggest to use RANDI or RAND together with FLOOR. The command NUMEL will be helpful also.
Risposta accettata
Jan
il 27 Set 2012
Did you delete this question after I've asked, if it is a homework, and reposted it??
Più risposte (1)
Vedere anche
Categorie
Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!