Cartesian product
This implementation of cartesian product includes two methods providing:
- the complete set resulting from the cartesian product of several subsets, returned as numeric matrix or two-dimensional cell,
- the successive tuples from the first index to the cardinal of the resulting set (without memory pre-allocation), returned numeric vector or one-dimensional cell.
These methods support subsets including both numeric and non-numeric elements, defined as numeric vectors or one-dimensional cells.
인용 양식
Eric Ogier (2024). Cartesian product (https://www.mathworks.com/matlabcentral/fileexchange/76977-cartesian-product), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!CartesianProduct
버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 |