how to append cells

4 次查看(过去 30 天)
Parul
Parul 2013-10-3
回答: SAA 2020-7-17
i have a cell named x1 >> whos x1 Name Size Bytes Class Attributes
x1 1x581 10160180 cell
which has 581 coloumns, and each coloumn has data of 103X54(double).
</matlabcentral/answers/uploaded_files/371/cell.png> but i want to append all coloumns in one coloumn, having size 59843X54. (59843=103X581)

回答(1 个)

SAA
SAA 2020-7-17
reshape(cell2mat('your cell'),[n,m]) n by m being your dimensions

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by