how to reshape cell to matrix?

5 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by