how to reshape cell to matrix?

10 ビュー (過去 30 日間)
Sharif Khalil
Sharif Khalil 2019 年 3 月 16 日
編集済み: Sharif Khalil 2019 年 3 月 17 日
I have a cell that is 180X8, each cell is 180X6 matrix, when I convert it to a matrix using (cell2mat) it outputs 32400X48, I need it to be 259200X6.
I have used reshape (reshape(xx,[],6);) but it chooses the 1st, 3rd, 5th, 7th, 9th, and 11th columns, I want to choose from 1 to 6, and underneath them the second 6 columns and so on.

採用された回答

madhan ravi
madhan ravi 2019 年 3 月 17 日
cat(1,yourcell{:})
  1 件のコメント
Sharif Khalil
Sharif Khalil 2019 年 3 月 17 日
Yes, thank you, I was actually looking for answers and I did the same :)
cat(1,yourcell{1:end});
But thanks again

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by