image thumbnail


version (1.55 KB) by Ahmed A. Selman
A simple (Line Vector Permutation) function.


Updated 16 Apr 2013

View License

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).

Cite As

Ahmed A. Selman (2022). LVPermute (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!