[SciPy-user] What is the equivalent of MATLAB's "interp2(Z, ntimes)" in Scipy's "interp2d"?

Hani Zahiri H.Zahiri@curtin.edu...
Tue Feb 17 08:29:19 CST 2009


Hi Folks,

Would you help me to write this line from MATLAB in Python:

interp2(arr,3)

where 'arr' is an array with shape (2,270).

I tried to use "scipy.interpolate.inetrp2d()" but it doesn't work since there is no option to do interleaving interpolates between every elements same as what MATLAB does using "interp2(Z, ntimes)"

I'll be happy if you help me with this
  
Cheers,

Hani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20090217/fee3b828/attachment.html 


More information about the SciPy-user mailing list