要找到一段matlab-2程序使用拉格朗日插值多项式:首先将下面的代码复制到M文件中,保存为lagranfunctioniimread( d:\ 1 . jpg)。图,imshow(一);Aimresize(I,2,最近);%最近邻插值图,im show(A);Bimresize(I,2,双线性);%双线性图,im show(B);Cimresize(I,2,双三次);%双三次图,im show(C);。

1、MATLAB已知点的坐标求 插值

整个代码如下:x[1.3370 . 681 . 3780 . 901 . 4001 . 151 . 4171 . 501 . 4382 . 201 . 4533 . 051 . 4624 . 001 . 4777 . 001 . Xi 1.3:0.00001:1.7;yinterp1(x(:,

x(:,2),xi ,样条);Indfind(abs(y6.08。


文章TAG:matlab  插值  程序  shepard  作图  shepard插值matlab程序  
下一篇