how select random n element af array without replacement
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
zohre saeedi
am 9 Okt. 2016
Beantwortet: Walter Roberson
am 9 Okt. 2016
I have array with m members. how I can select 10 member of it randomly and without replacement?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (2)
Walter Roberson
am 9 Okt. 2016
samples = YourArray(randperm(m, 10)); %without replacement
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!