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
combinelement-combination of all elemnt
B = combinelement(A) returns all combinations of the elements in the matrix A
A is a M(rows)-by-N matrix in which N is elements(parameters) and M is possible values for each parameter
B is a P(rows)-by-N matrix in which p is M^N and N is elements(parameters)
Example
%
pH temp BOD TSS
A=[ 9 40 100 115
7 20 50 70]
%
B=[9 40 100 115
9 40 100 70
9 40 50 115
9 40 50 70
9 20 100 115
9 20 100 70
9 20 50 115
9 20 50 70
7 40 100 115
7 40 100 70
7 40 50 115
7 40 50 70
7 20 100 115
7 20 100 70
7 20 50 115
7 20 50 70]
Tested in Matlab R2015a
version 1.0 (march 2016)
Ehsan raei ezabadi
email: raei.ehsan@gmail.com
Cita come
ehsan raei (2026). All combination of a matrix elements (https://it.mathworks.com/matlabcentral/fileexchange/55976-all-combination-of-a-matrix-elements), MATLAB Central File Exchange. Recuperato .
Informazioni generali
- Versione 1.0.0.0 (2,51 KB)
Compatibilità della release di MATLAB
- Compatibile con qualsiasi release
Compatibilità della piattaforma
- Windows
- macOS
- Linux
| Versione | Pubblicato | Note della release | Action |
|---|---|---|---|
| 1.0.0.0 |
