Info
This question is closed. Reopen it to edit or answer.
could anyone help me how to run the line without using randsample
1 view (last 30 days)
Show older comments
could anyone help me how to run the line without using randsample rows=unused_rows(randsample(length(unused_rows),N_UE_rows))
0 Comments
Answers (2)
Image Analyst
on 13 Apr 2018
Try randperm().
2 Comments
Walter Roberson
on 16 Apr 2018
In the output you show, the number of rows is the same each time, 2 rows each time.
Walter Roberson
on 16 Apr 2018
rows = unused_rows(randperm(length(unused_rows),N_UE_rows))
3 Comments
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!