Generate random permutation order without using sort()

by Ragaar 13 Oct 2009

You are now following this Submission

Developed the function after being unable to find a post providing an efficient version of RANDPERM function.

Cite As

Ragaar Ashnod (2026). Generate random permutation order without using sort() (https://www.mathworks.com/matlabcentral/fileexchange/25564-generate-random-permutation-order-without-using-sort), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Random Number Generation in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0