Convert a table of tables in a single table

4 ビュー (過去 30 日間)
Mario Diaco
Mario Diaco 2020 年 5 月 14 日
コメント済み: Mario Diaco 2020 年 5 月 14 日
I have an object with 1x60 cell, where any single cell it's a table. How I can convert this object in a single table, where all columns of the original object are the columns of the new table?
  3 件のコメント
Mario Diaco
Mario Diaco 2020 年 5 月 14 日
Fangjun Jiang
Fangjun Jiang 2020 年 5 月 14 日
what is class(T)?

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

採用された回答

Fangjun Jiang
Fangjun Jiang 2020 年 5 月 14 日
Okay, what you have is new in R2020a. Here is an example:
a{1}=table(rand(9,1));
a{2}=table(rand(9,1));
b=cellfun(@table2array,a,'UniformOutput',false);
c=cell2mat(b);
d=table(c)
  1 件のコメント
Mario Diaco
Mario Diaco 2020 年 5 月 14 日
Thanks a lot!

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

その他の回答 (0 件)

カテゴリ

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

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by