how to retrieve a part from a cell array ?

2 views (last 30 days)
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).

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 4 Apr 2014
A=num2cell(1:10)
B=A(1:2:end)
  1 Comment
yahya
yahya on 5 Apr 2014
yes, with B=A(1:2:end,1:15,1:907) only it works well. think you !

Sign in to comment.

More Answers (0)

Categories

Find more on Data Types in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!