Differences between matlab griddata and python griddata
26 次查看(过去 30 天)
显示 更早的评论
I want to get the same result when running matlab griddata and python griddata, but the values are slightly different. Therefore, I would like to know in detail about the implementation method of grid data of Matlab. Which part is different from Python, etc.
0 个评论
回答(1 个)
Arya Chandan Reddy
2023-6-29
Hi, as I understand you are trying to figure out differences between the implementations of griddata in MATLAB and python. In MATLAB scattered data interpolation with griddata uses a Delaunay triangulation of the data. However its implementation goes into realm of its own.
The cause of this difference could be the method of interpolation used, fill_value (in scipy) and as stated in the MATLAB documentation and the equivalent of scipy, this could be caused due to the senstivity to scaling.
Hope this helps.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call Python from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!