transposing the contents of the cell
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Lucas García
2011 年 9 月 11 日
Let C be your cell. You can do the following:
C = cellfun(@transpose,C,'un',0);
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!