matlab grid mesh/interpolation on complicated surface
显示 更早的评论
Is there a way to generate an evenly-spaced grid and interpolate points on a surface at each grid point? My surface has undercuts (i.e., like something between a hemisphere and a sphere) so some of the built-in functions like meshgrid aren't working. Also, I tried using the user-submitted gridfit function, but this function was doing odd things near the bottom of my sphere-like shape and I don't think it was capturing the undercuts. Any help would be greatly appreciated!
回答(1 个)
Sean de Wolski
2011-12-23
Could you do the interpolation twice, once with each part?
doc triscatteredinterp
will be your friend.
类别
在 帮助中心 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!