Cartesian product
Version 1.0.1 (33,9 ko) par
Eric Ogier
Implementation of cartesian product with sampling of tuples
This implementation of cartesian product includes methods providing:
- The complete set resulting from the cartesian product of several subsets, returned as numeric/string matrix, two-dimensional cells or table,
- The successive tuples from the first index to the cardinal of the resulting set (without memory pre-allocation), returned numeric/string vector or one-dimensional cell.
These methods support subsets including both numeric and non-numeric elements, defined as numeric vectors or one-dimensional cells.
Citation pour cette source
Eric Ogier (2026). Cartesian product (https://fr.mathworks.com/matlabcentral/fileexchange/76977-cartesian-product), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2018a
Compatible avec les versions R2016a et ultérieures
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.
CartesianProduct
CartesianProduct
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.1 | Update for string type arguments.
|
||
| 1.0.0.0 |
