i have 16 different types of files and i have to take the files in the bunch of 5 from the 16 files, how i put permutation and combination to get 5 files from the 16 files each time differently?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Sun Heat
am 16 Aug. 2019
Kommentiert: Sun Heat
am 17 Aug. 2019
For Example
12134,11111,12111,
0 Kommentare
Akzeptierte Antwort
Guillaume
am 16 Aug. 2019
Not clear what you call file when you only show numbers. To get 5 distinct random numbers from the range 1:16:
randperm(16, 5)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Get Started with Optimization Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!