how select random n element af array without replacement
Mostrar comentarios más antiguos
I have array with m members. how I can select 10 member of it randomly and without replacement?
Respuesta aceptada
Más respuestas (2)
Walter Roberson
el 9 de Oct. de 2016
samples = YourArray(randperm(m, 10)); %without replacement
zohre saeedi
el 9 de Oct. de 2016
0 votos
Categorías
Más información sobre Image Arithmetic en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!