MATLAB: How can I zero a load of the array values

arrayMATLAB

how can I zero a load of my array values?

Best Answer

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.