copy different cell values to a single cell
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Elysi Cochin
el 14 de En. de 2016
Respondida: Guillaume
el 14 de En. de 2016
i have 3 cell of size (c1 = 1 X 5; c2 = 1 X 10; c3 = 1 X 15); i wanted to copy all the cell values to a single cell of size (c = 1 X 40)
please tell me how to do it
0 comentarios
Respuesta aceptada
Guillaume
el 14 de En. de 2016
Simple:
c = {zeros(1, 5); ones(1, 10); zeros(1, 15)}; %for example
newc = [c{:}]
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Data Types en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!