how can I zero a load of my array values?

1 visualizzazione (ultimi 30 giorni)
how can I zero a load of my array values?
  3 Commenti
Matt Fig
Matt Fig il 2 Nov 2012
Tom's question
how can I zero a load of my array values?

Accedi per commentare.

Risposta accettata

Image Analyst
Image Analyst il 6 Apr 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 Commento
Tom
Tom il 6 Apr 2012
That's all I was after thanks

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by