How to select a random value from a matrix?
Ältere Kommentare anzeigen
How to select a random value from a matrix?
A = [1 2 3 4 5
6 7 8 9 10]
1 Kommentar
Jan
am 27 Sep. 2012
This sounds like a homework question. I suggest to use RANDI or RAND together with FLOOR. The command NUMEL will be helpful also.
Akzeptierte Antwort
Weitere Antworten (1)
ajith
am 27 Sep. 2012
0 Stimmen
JUST USE RAND FUNCTION RAND()
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!