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

1 visualización (últimos 30 días)
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]};

Respuesta aceptada

madhan ravi
madhan ravi el 12 de Mayo de 2019
[cell_A{:}]

Más respuestas (0)

Categorías

Más información sobre Images en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by