how select random n element af array without replacement
Show older comments
I have array with m members. how I can select 10 member of it randomly and without replacement?
Accepted Answer
More Answers (2)
Walter Roberson
on 9 Oct 2016
samples = YourArray(randperm(m, 10)); %without replacement
zohre saeedi
on 9 Oct 2016
0 votes
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!