Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
shufflelabel randomly changes the order of label values in a label matrix. Zeros and nans are ignored. The label matrix can be every numerical data type, char or a cell array of strings.
Example
L = kron([1 2 3;3 2 3],[1 1; 2 2])
L =
1 1 2 2 3 3
2 2 4 4 6 6
3 3 2 2 3 3
6 6 4 4 6 6
Ls = shufflelabel(L)
Ls =
3 3 6 6 1 1
6 6 2 2 4 4
1 1 6 6 1 1
4 4 2 2 4 4
Cita come
Wolfgang Schwanghart (2026). shuffle label (https://it.mathworks.com/matlabcentral/fileexchange/25310-shuffle-label), MATLAB Central File Exchange. Recuperato .
Informazioni generali
- Versione 1.1.0.0 (1,87 KB)
Compatibilità della release di MATLAB
- Compatibile con qualsiasi release
Compatibilità della piattaforma
- Windows
- macOS
- Linux
