开发者

How do I interpolate along a path of scattered points on a MATLAB grid?

I have a NxN grid of values and a 2xM list of x,y data points to be interpolated onto that grid (obtained from the output of countour on a similar grid of values).

How do I do this in MATLAB?

This is sort of the r开发者_开发技巧everse of the problem that griddata, TriScatteredInterp and perhaps more appropriately, inpaint_nan solves (i.e. scattered points to generate a grid).


Use interp2, the tool designed to do exactly that.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜