How to reduce writing using cat command?
Mostrar comentarios más antiguos
Is there any way to reduce writing each time by any means..
y = cat(3, x{1,1}, x{1,2}, x{1,3}, x{1,4},...
x{1,5}, x{1,6}, x{1,7}, x{1,8}, x{1,9},...
x{1,10}, x{1,11}, x{1,12});
the command like
for i = 1:12
y = cat(3, x{1,i});
end
does not work.
Respuesta aceptada
Más respuestas (1)
Steven Lord
el 21 de Oct. de 2018
0 votos
1 comentario
Walter Roberson
el 22 de Oct. de 2018
y = cat(3, x{:});
Categorías
Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!