call all element inside cell (this cell contain another set of cells)

1 次查看(过去 30 天)
Let's say, I have a cell
cell_A=1x3 cell
cell_A= { cell A1 cell A2 cell A3};
cell_A1=1x2 cell={[1 1 1;2 2 2],[3 3 3;4 4 4;5 5 5]};
cell_A2=1x2 cell={[9 9 9;5 5 5],[7 8 9;6 5 4;5 5 5;8 8 8]};
cell_A2=1x4 cell={[9 8 7;4 5 6;5 5 5;6 6 6],[9 9 9;5 5 5],[1 1 1;2 2 2],[3 2 1;1 2 3;5 5 5;7 7 7]};
cell_A= { {[1 1 1;2 2 2],[3 3 3;4 4 4;5 5 5]} {[9 9 9;5 5 5],[7 8 9;6 5 4;5 5 5;8 8 8]} {[9 8 7;4 5 6;5 5 5;6 6 6],[9 9 9;5 5 5],[1 1 1;2 2 2],[3 2 1;1 2 3;5 5 5;7 7 7]}};
How can I call all element from cell A, and generate cell_result (1x8 cell)
cell_result={[1 1 1;2 2 2],[3 3 3;4 4 4;5 5 5],[9 9 9;5 5 5],[7 8 9;6 5 4;5 5 5;8 8 8],[9 8 7;4 5 6;5 5 5;6 6 6],[9 9 9;5 5 5],[1 1 1;2 2 2],[3 2 1;1 2 3;5 5 5;7 7 7]};

采纳的回答

madhan ravi
madhan ravi 2019-5-12
[cell_A{:}]

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by