title: Matrix element division in R
body: <p>I have a Matrix:</p>
  
  <pre>
      close   close.1 close.2
  1   38.050  22.320  23.115
  2   37.650  22.150  23.055
  3   37.295  22.090  23.090
  </pre>
  
  <p>And I would like to divide "close" by "close.1", "close" by "close.2" and finally "close.1" by "close.2" for each row.</p>
  
  <p>I'm aware that I can write a horrible looking for loop that would solve this but I would be really grateful to know if there was an easy way to do this in R ?</p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>Thanks.</p>