how can I zero a load of my array values?

1 visualización (últimos 30 días)
Tom
Tom el 6 de Abr. de 2012
how can I zero a load of my array values?
  3 comentarios
Matt Fig
Matt Fig el 2 de Nov. de 2012
Tom's question
how can I zero a load of my array values?
Matt Fig
Matt Fig el 2 de Nov. de 2012
Tom's question
how can I zero a load of my array values?

Iniciar sesión para comentar.

Respuesta aceptada

Image Analyst
Image Analyst el 6 de Abr. de 2012
How about
myArray(row1:row2, col1:col2) = 0;
? However, that's so obvious that I'm not sure that it is what you were after.

Más respuestas (0)

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by