replicating/copy part of Cell Array
45 ビュー (過去 30 日間)
古いコメントを表示
I have Cell Array;
CA{100,5}
is there a function/syntax to copy a section of a cell array in a similar fashion to copying a matrix;
NewCA = CA{1:50, 4:5};
or do I have to cell copy using a loop.
Thanks,
AD
0 件のコメント
採用された回答
その他の回答 (1 件)
Astik Sachan
2017 年 5 月 10 日
編集済み: Astik Sachan
2017 年 5 月 10 日
CA{100,5}; %you have
tempCA = {CA{1:50,4:5}};
NewCA = reshape(tempCA,[50,2]);
Try this!
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!