Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
could anyone help me how to run the line without using randsample
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
could anyone help me how to run the line without using randsample rows=unused_rows(randsample(length(unused_rows),N_UE_rows))
0 Kommentare
Antworten (2)
Image Analyst
am 13 Apr. 2018
Try randperm().
2 Kommentare
Prabha Kumaresan
am 16 Apr. 2018
Bearbeitet: Walter Roberson
am 16 Apr. 2018
Walter Roberson
am 16 Apr. 2018
In the output you show, the number of rows is the same each time, 2 rows each time.
Walter Roberson
am 16 Apr. 2018
rows = unused_rows(randperm(length(unused_rows),N_UE_rows))
3 Kommentare
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!