randperms

Versione 1.0.0.0 (840 Byte) da Po Hu
A modified version of randperm, users have more choice to the returned value.
1,3K download
Aggiornato 12 ago 2005

Nessuna licenza

Description:
randperms(n) is a random permutation of the integers from 1 to n.
randperms(m,n) when m > n, returns the nth element of randperm(m);
when m < n, returns the permutation of the intergers
from m to n.
randperms(m,n,idx) returns the idx th element of permutated intergers
from m to n.

Cita come

Po Hu (2025). randperms (https://it.mathworks.com/matlabcentral/fileexchange/8276-randperms), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R14SP1
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Random Number Generation in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0