how can I zero a load of my array values?

1 Ansicht (letzte 30 Tage)
Tom
Tom am 6 Apr. 2012
how can I zero a load of my array values?
  3 Kommentare
Matt Fig
Matt Fig am 2 Nov. 2012
Tom's question
how can I zero a load of my array values?
Matt Fig
Matt Fig am 2 Nov. 2012
Tom's question
how can I zero a load of my array values?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Image Analyst
Image Analyst am 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.

Weitere Antworten (0)

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by