Borrar filtros
Borrar filtros

cell, I want to merge cell

1 visualización (últimos 30 días)
Tomas
Tomas el 11 de En. de 2014
Respondida: Azzi Abdelmalek el 11 de En. de 2014
I want to merge cell
i have cell Z={1x3} {1x4} i want to have cell Z={1x7} I have used loop for
Thanks

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 11 de En. de 2014
z={{1 2 3},{4 5 6 7}}
zz=[z{:}]

Más respuestas (1)

Image Analyst
Image Analyst el 11 de En. de 2014
I don't know what that means. Do you have a 1 by 3 cell array - 3 cells, and inside each cell is another 1 by 4 cell array? Or do you have a 3 row by 4 column cell array? Have you seen the FAQ: http://matlab.wikia.com/wiki/FAQ#What_is_a_cell_array.3F Can you give an example? Does this work?
Z = Z(:);
???

Categorías

Más información sobre Multidimensional Arrays 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