Ahora está siguiendo esta publicación
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
Function RANDPERG extends Matlab's RANDPERM by considering permutations of a grouped vector: if x is an n*1 data vector, and c is an n*1 vector of group assignments - so that x(i) belongs to group c(i) - randperg(x,c) returns an n*1 vector y where each c group retains the indexes it had in x [permutation is thus 'partial'], but its individual elements are randomly rearranged. See the function's help header for details.
Citar como
Dimitri Shvorob (2026). Permute a grouped vector (https://es.mathworks.com/matlabcentral/fileexchange/14415-permute-a-grouped-vector), MATLAB Central File Exchange. Recuperado .
Agradecimientos
Inspirado por: PARTPERM -- Partial random permutation of a vector, shake
Información general
- Versión 1.0.0.0 (1,38 KB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
| Versión | Publicado | Notas de la versión | Action |
|---|---|---|---|
| 1.0.0.0 | BSD |
