title: finding minimum product value and return the multiplied values from matrix
body: <p>For instance I have this matrices:</p>
  
  <pre><code>A = [ 1 2 3 4; 5 6 7 8; 9 10 2 12];
  
  B = [5 4 3 2; 6 7 8 9; 10 9 1 7];
  
  C = B.*A
  </code></pre>
  
  <p>the result is like this:</p>
  
  <pre><code>C = [5 8 9 8; 30 42 56 72; 90 90 2 84]
  </code></pre>
  
  <p>In my actual matrix the size of A and B varies.</p>
  
  <p>My question is how do i find the minimum value from matrix C so the output will just be like this (from the result above):</p>
  
  <pre><code>C = 2
  A = 2
  B = 1
  </code></pre>
  
  <p>So basically, I need help with the code so matlab will find the minimum then return the value from matrices A and B that produce that minimum value.</p>
  
  <p>Thank you!!</p>