how select random n element af array without replacement
古いコメントを表示
I have array with m members. how I can select 10 member of it randomly and without replacement?
採用された回答
その他の回答 (2 件)
Walter Roberson
2016 年 10 月 9 日
samples = YourArray(randperm(m, 10)); %without replacement
カテゴリ
ヘルプ センター および File Exchange で Image Arithmetic についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!