Cartesian product
Versión 1.0.1 (33,9 KB) por
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.
Citar como
Eric Ogier (2025). Cartesian product (https://es.mathworks.com/matlabcentral/fileexchange/76977-cartesian-product), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2018a
Compatible con cualquier versión desde R2016a
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
