how to retrieve a part from a cell array ?

3 vues (au cours des 30 derniers jours)
yahya
yahya le 4 Avr 2014
Commenté : Image Analyst le 5 Avr 2014
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).

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Types dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by