nextperm

Outputs the next permutation of the ordered tuple x.

Download
Download

You are now following this Submission

Cite As

Steven Gregory (2026). nextperm (https://in.mathworks.com/matlabcentral/fileexchange/22692-nextperm), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Fast batch generation of permutations

Categories

Find more on Linear Algebra 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.1.0

Made a small change in the description of the function.

Download
1.0.0

Download