开发者

R's approxfun in Matlab

What is the equivalent for R's approxfun in Matlab?

I used interp3() to calculate the interp开发者_运维问答olation points, now I need to create an inverse function to perform this interpolation. Any ideas?


When you need the inverse of a function you should simply reverse the order of the x and y values. So if interp3( x, y) gets you a satisfactory function, then interp3( y, x) should produce the inverse, subject of course to the possibility you may need to do it piecewise if it is not monotonic.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜