title: Multiplying two matrices in R
body: <p>I have 2 matrices.</p>
  
  <p>The first one:
  <code>[1,2,3]</code></p>
  
  <p>and the second one:</p>
  
  <pre><code>[3,1,2
   2,1,3
   3,2,1]
  </code></pre>
  
  <p>I'm looking for a way to multiply them.</p>
  
  <p>The result is supposed to be: <code>[11, 13, 10]</code></p>
  
  <p>In R, <code>mat1%*%mat2</code> don't work.</p>