how to retrieve a part from a cell array ?

3 visualizaciones (últimos 30 días)
yahya
yahya el 4 de Abr. de 2014
Comentada: Image Analyst el 5 de Abr. de 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).

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Data Types en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by