フィルターのクリア

Concatenate together two cell arrays

3 ビュー (過去 30 日間)
Fabio Taccaliti
Fabio Taccaliti 2022 年 7 月 2 日
コメント済み: Fabio Taccaliti 2022 年 7 月 3 日
Hello,
I have two 102 x 1 cell (respectively CC and DD), each of them with all 32 x 4 doubles.
I would like to create another cell BB (102 x 1) that includes all the elements of the cell CC and DD, I mean it should contain 64 x 4 doubles (the first part 32 x 2 from CC and the second part 32 x 2 from DD).
How can I do it?
Thanks

採用された回答

Walter Roberson
Walter Roberson 2022 年 7 月 2 日
BB = cellfun(@(c,d) [c;d], CC, DD, 'uniform', 0);
  3 件のコメント
Walter Roberson
Walter Roberson 2022 年 7 月 2 日
cell2mat(BB)
Fabio Taccaliti
Fabio Taccaliti 2022 年 7 月 3 日
thankss

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultidimensional Arrays についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by