title: Python interp1d vs. UnivariateSpline
body: <p>I'm trying to port some MatLab code over to Scipy, and I've tried two different functions from scipy.interpolate, <a href="http://docs.scipy.org/doc/scipy-dev/reference/generated/scipy.interpolate.interp1d.html#scipy.interpolate.interp1d" rel="noreferrer">interp1d</a> and <a href="http://docs.scipy.org/doc/scipy-dev/reference/generated/scipy.interpolate.UnivariateSpline.html#scipy.interpolate.UnivariateSpline" rel="noreferrer">UnivariateSpline</a>.  The interp1d results match the interp1d MatLab function, but the UnivariateSpline numbers come out different - and in some cases very different.  </p>
  
  <pre><code>f = interp1d(row1,row2,kind='cubic',bounds_error=False,fill_value=numpy.max(row2))
  return  f(interp)
  
  f = UnivariateSpline(row1,row2,k=3,s=0)
  return f(interp)
  </code></pre>
  
  <p>Could anyone offer any insight?  My x vals aren't equally spaced, although I'm not sure why that would matter.</p>