cell operation
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi guys,
There is a m*1 cell array. In every cell, there are n cells.
How can I transform this m*1 cell array to a m*n cell matrix without using loop?
Thanks,
Zhong
0 Kommentare
Akzeptierte Antwort
Teja Muppirala
am 24 Nov. 2011
Maybe something like this?
M{1,1} = {1 3 5 0}
M{2,1} = {2 4 6 -1}
M{3,1} = {7 8 9 2}
cat(1,M{:})
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!