cartesianProd
Version 1.0.0 (2,08 ko) par
saeed oveisi
Carries out the index calculation of Cartesian products of any number of arrays and returns the resultant product aside the indices
Cartesian product of any number of sets is a set of tuples in which, all possible tuples with elements of initial sets are included.
for example: if A={1 2 3} and B = {a b} then A*B = {(1,a),(2,a),(3,a),(1,b),(2,b),(3,b)};
This function calculates the indices of production and also the resultant array as a cell;
Citation pour cette source
saeed oveisi (2026). cartesianProd (https://fr.mathworks.com/matlabcentral/fileexchange/103465-cartesianprod), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2021a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0 |
