How do I convert a 3d cell array of different size to matrix?

1 回表示 (過去 30 日間)
AJT
AJT 2020 年 11 月 30 日
コメント済み: AJT 2020 年 12 月 1 日
How can we convert a 3d cell array to matrice. can I get 1x10 matrices from the 1x10 cell?

採用された回答

Jan
Jan 2020 年 11 月 30 日
編集済み: Jan 2020 年 11 月 30 日
M = cat(3, ETT{:});
No, this cannot create a 1x10 matrix.
  5 件のコメント
Jan
Jan 2020 年 12 月 1 日
編集済み: Jan 2020 年 12 月 1 日
If you have 10 million matrices, using a cell array and an index is still the best solution. Most of all, you do not have to hardcode the names of the variables at all, so using this method is flexible by design.
AJT
AJT 2020 年 12 月 1 日
Thank you for a great discussion!

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by