You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Cite As
Eric Ogier (2026). Cartesian product (https://www.mathworks.com/matlabcentral/fileexchange/76977-cartesian-product), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.1 (33.9 KB)
MATLAB Release Compatibility
- Compatible with R2016a and later releases
Platform Compatibility
- Windows
- macOS
- Linux
