title: Copy one matrix into another in Matlab
body: <p>How can I copy one matrix into another without for loops ? is it 
  even possible ? </p>
  
  <p>This is a short code that does it with loops , how can I avoid loops here ? </p>
  
  <pre><code>% middleImg , newImg are matrices 
  [rows columns] = size(middleImg);
  for i=1:rows
      for j=1:columns     
          newImg(i,j) = middleImg(i+1,j+1);
      end
  end  
  </code></pre>