You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
A derangement is a permutation of the elements of a set, such that no element appears in its original position.
The code use non rejection method for better predictable runtime.
Cite As
Bruno Luong (2026). Random derangement (https://www.mathworks.com/matlabcentral/fileexchange/87994-random-derangement), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.1 (2.14 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
