how select random n element af array without replacement

 Risposta accettata

KSSV
KSSV il 9 Ott 2016
Modificato: KSSV il 9 Ott 2016
Let a be your array..to select 10 memebers randomly out of a use
iwant = randsample(a,10)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by