Random shuffling of 2D-array elements.


Updated 2 Aug 2009

View License

Shuffles the elements of a 2D-array, either all elements or along dimensions.

Cite As

Peter (PB) Bodin (2023). RANDMAT (https://www.mathworks.com/matlabcentral/fileexchange/7203-randmat), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13SP1
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!
Version Published Release Notes


Removed the setting of a rand seed.