how can I zero a load of my array values?

1 view (last 30 days)
how can I zero a load of my array values?
  3 Comments
Matt Fig
Matt Fig on 2 Nov 2012
Tom's question
how can I zero a load of my array values?
Matt Fig
Matt Fig on 2 Nov 2012
Tom's question
how can I zero a load of my array values?

Sign in to comment.

Accepted Answer

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

More Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!