Y = shuffleVector(X,N) Shuffle the vector X for N times, and concatenate the each shuffle to generate a new vector Y.
Shoaibur Rahman (2022). Shuffle a vector for multiple times and concatenate them (https://www.mathworks.com/matlabcentral/fileexchange/55129-shuffle-a-vector-for-multiple-times-and-concatenate-them), 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!