This simple function generates a vector made of positive integers, and finds all its possible permutations. Useful, perhaps, for illustrating the principle of permutation in matrices, in general.
This function is limited to maximum input usually 8 or 9 (takes some time to finish).
Ahmed A. Selman (2022). LVPermute (https://www.mathworks.com/matlabcentral/fileexchange/41308-lvpermute), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!