擅长:python、mysql、java
<p>我也遇到过同样的问题,并且发现<code>scipy.ndimage.map_coordinates</code>和{<cd2>}是一样的。请阅读这些命令的文档,以找出适用于您的案例的解决方案。在</p>
<p>在Matlab的<code>Vq = interp2(V,Xq,Yq)</code>中尝试此操作:</p>
<pre><code>Vq = scipy.ndimage.map_coordinates(V, [Xq.ravel(), Yq.ravel()], order=3, mode='nearest').reshape(V.shape)
</code></pre>