How to subset rows with reproducibility?
Show older comments
If I have a 10 by 5 matrix, how would I subset the data so that the same rows are selected each time?
I know how to select 10 random rows, but I'm unsure how to make it reproducible.
Accepted Answer
More Answers (0)
Categories
Find more on Logical 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!