Cartesian product

Version 1.0.0.0 (4,23 ko) par Eric Ogier
Implementation of cartesian product with sampling of tuples
82 téléchargements
Mise à jour 15 juin 2020

Afficher la licence

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.

Citation pour cette source

Eric Ogier (2024). Cartesian product (https://www.mathworks.com/matlabcentral/fileexchange/76977-cartesian-product), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2018a
Compatible avec les versions R2016a et ultérieures
Plateformes compatibles
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.0.0.0