how can I zero a load of my array values?

1 vue (au cours des 30 derniers jours)
Tom
Tom le 6 Avr 2012
how can I zero a load of my array values?
  3 commentaires
Matt Fig
Matt Fig le 2 Nov 2012
Tom's question
how can I zero a load of my array values?
Matt Fig
Matt Fig le 2 Nov 2012
Tom's question
how can I zero a load of my array values?

Connectez-vous pour commenter.

Réponse acceptée

Image Analyst
Image Analyst le 6 Avr 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.
  1 commentaire
Tom
Tom le 6 Avr 2012
That's all I was after thanks

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by