transform 1x12 cell to 3x4 cell
17 ビュー (過去 30 日間)
古いコメントを表示
Hi! I have a cell like this:
A = {'5','11','69','85','114','169','188','196','250','258','267','295'};
I want to transform it like this:
A = {'5','11','69','85';'114','169','188','196';'250','258','267','295'};
0 件のコメント
採用された回答
Dyuman Joshi
2023 年 6 月 23 日
Use reshape
A = {'5','11','69','85','114','169','188','196','250','258','267','295'}
A = reshape(A,4,[])'
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Matrices and Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!