transposing the contents of the cell
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
hi, I have a 3x1 cell array that contains the following cells:
[1x2 double]
[1x2 double]
[1x2 double]
how can I transpose the contents of the cell to the main cell array is as follows:
[2x1 double]
[2x1 double]
[2x1 double]
any help would be appreciated!
0 Kommentare
Akzeptierte Antwort
Lucas García
am 11 Sep. 2011
Let C be your cell. You can do the following:
C = cellfun(@transpose,C,'un',0);
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!