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).

 Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 4 Apr. 2014

0 Stimmen

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

1 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Data Types finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by