How do I create a matrix with a randomized permutation of integers?
Show older comments
Alternatively: What is the matrix equivalent of randperm(n,k)?
I can't figure out a simple way to do this.
Accepted Answer
More Answers (0)
Categories
Find more on Puzzles 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!