Shuffle
Random permutation of array elements, C-Mex: much faster than RANDPERM
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Jan (2026). Shuffle (https://uk.mathworks.com/matlabcentral/fileexchange/27076-shuffle), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.4.0 (19.4 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.4.0 | Some percent faster, bugfix for 64-bit index vectors, derangements - Thanks to Derek O'Connor. |
||
| 1.3.0 | Bugfix for [1 x 4] seeds.
|
||
| 1.2.0 | Can be compiled with LCC 2.4 (shipped with Matlab) now. Thanks to James Tursa for the helpful ideas! |
||
| 1.1.0 | Create index vector with optionally reduced length, dimension to operate on can be specified. *New interface* ! |
||
| 1.0.0 |