Suppose I define the following simple matrix in MATLAB:
myImage3 = zeros(10,10); for i=1:10 for j=i:2:10 myImage3(i,j) = 20; end end