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

griDDAtA v4

MATLAB散乱点插值函数 griddata函数 语法: ZI = griddata(x,y,z,XI,YI) [XI,YI,ZI] = griddata(x,y,z,XI,YI) [...] = griddata(...,method) [...] = griddata(...,method,options) 说明: ZI = griddata(x,y,z,XI,YI) 调整形如z = f(x,y)的曲面...

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');%插值

建议你学学问问题的技巧,你的问题都没有说清楚,说明白。

就是网格的三维插值 你看看help griddata就知道了

少右半边小括号啊

[X,Y,Z]=griddata(x,y,z,linspace(1.486,4.271)',linspace(1.604,4.276),'v4');%插值pcolor(X,Y,Z);shading interp%伪彩色图figure,contourf(X,Y,...

clear all%原始数据x=[129,140,103.5,88,185.5,195,105,157.5,107.5,77,81,162,162,...

拟合!

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