title: How to perform interpolation on a 2D array in MATLAB
body: <p>How can I make a function of 2 variables and given a 2D array, it would return an interpolated value?</p>
  
  <p>I have <code>N x M</code> array <code>A</code>. I need to interpolate it and somehow obtain the function of that surface so I could pick values on not-integer arguments. 
  (I need to use that interpolation as a function of 2 variables) </p>
  
  <p>For example: </p>
  
  <pre><code>A[N,M] //my array
  // here is the method I'm looking for. Returns function interpolatedA
  interpolatedA(3.14,344.1) //That function returns interpolated value
  </code></pre>