display cell array vertically

 Respuesta aceptada

Matt J
Matt J el 21 de Dic. de 2023
Editada: Matt J el 21 de Dic. de 2023
Perhaps this is what you want,
W1={{1,2},{3,4}}
W1 = 1×2 cell array
{1×2 cell} {1×2 cell}
W2=reshape([W1{:}],2,[])'
W2 = 2×2 cell array
{[1]} {[2]} {[3]} {[4]}

Más respuestas (0)

Categorías

Preguntada:

el 21 de Dic. de 2023

Movida:

el 24 de Jun. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by