how select random n element af array without replacement
Mostra commenti meno recenti
I have array with m members. how I can select 10 member of it randomly and without replacement?
Risposta accettata
Più risposte (2)
Walter Roberson
il 9 Ott 2016
samples = YourArray(randperm(m, 10)); %without replacement
zohre saeedi
il 9 Ott 2016
0 voti
Categorie
Scopri di più su Image Arithmetic in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!