how to retrieve a part from a cell array ?

3 ビュー (過去 30 日間)
yahya
yahya 2014 年 4 月 4 日
コメント済み: Image Analyst 2014 年 4 月 5 日
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 日
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 件)

カテゴリ

Help Center および File ExchangeData Types についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by