Hello;
how to copy a part of cell array (64,15,907) to another cell array (32,15,907)(i.e: copy only odd rows:1,3,5,....,63).

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 4 月 4 日

0 投票

A=num2cell(1:10)
B=A(1:2:end)

1 件のコメント

yahya
yahya 2014 年 4 月 5 日
yes, with B=A(1:2:end,1:15,1:907) only it works well. think you !

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Cell Arrays についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by