tnfh.net
当前位置:首页 >> griDDAtA v4 >>

griDDAtA v4

知道一系列点的坐标如下(1.486,3.059,0.1);(2.121,4.041,0.1);(2.570,3.959,0.1);(3.439,4.396,0.1);(4.505,3.012,0.1);(3.402,1.604,0.1);(2.570,2.065,0.1);(2.150,1.970,0.1);(1.794,3.059,0.2);(2.121,3.615,0.2);(2.5...

griddata是matlab中的插值函数 ,'v4'是MATLAB自定义的 4 格点样条函数内插选项。

A=[]; x=A(:,1);y=A(:,2);z=A(:,3); [X,Y,Z]=griddata(x,y,z,linspace(min(x),max(x),200)',linspace(min(y),max(y),200),'v4');%插值

少右半边小括号啊

拟合!

网站首页 | 网站地图
All rights reserved Powered by www.tnfh.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com