cartesianProd

Carries out the index calculation of Cartesian products of any number of arrays and returns the resultant product aside the indices
61 download
Aggiornato 12 dic 2021

Visualizza la licenza

Cartesian product of any number of sets is a set of tuples in which, all possible tuples with elements of initial sets are included.
for example: if A={1 2 3} and B = {a b} then A*B = {(1,a),(2,a),(3,a),(1,b),(2,b),(3,b)};
This function calculates the indices of production and also the resultant array as a cell;

Cita come

saeed oveisi (2025). cartesianProd (https://www.mathworks.com/matlabcentral/fileexchange/103465-cartesianprod), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2021a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Tag Aggiungi tag

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0