Problem with Cell Array in Table
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Nina Perf
am 17 Mär. 2022
Bearbeitet: Nina Perf
am 17 Mär. 2022
Hi,
I have a table T, with cell arrays of doubles.
By opening T.Var1{1,1} (selected in the figure above) we get a double with 3 columns:
My intention is to have a table T without cells. I want to have a table T with 3 columns (no cells) where all the 5 contents of cells are concatenated vertically. (i.e., the cell 2, 3 columns, are in the end of cell 1, 3 columns, etc).
0 Kommentare
Akzeptierte Antwort
David Hill
am 17 Mär. 2022
Why not just a matrix? It does not seem like you have any field names.
M=[];
for k=1:5
M=[M;T.Var1{k}];
end
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!