how select random n element af array without replacement
Ältere Kommentare anzeigen
I have array with m members. how I can select 10 member of it randomly and without replacement?
Akzeptierte Antwort
Weitere Antworten (2)
Walter Roberson
am 9 Okt. 2016
samples = YourArray(randperm(m, 10)); %without replacement
zohre saeedi
am 9 Okt. 2016
0 Stimmen
Kategorien
Mehr zu Image Arithmetic finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!