cartesianProd

Carries out the index calculation of Cartesian products of any number of arrays and returns the resultant product aside the indices

現在この提出コンテンツをフォロー中です。

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;

引用

saeed oveisi (2026). cartesianProd (https://jp.mathworks.com/matlabcentral/fileexchange/103465-cartesianprod), MATLAB Central File Exchange. に取得済み.

Add the first tag.

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0