matlab画图:已知非规则图形中每个节点的x、y坐标和温度值,怎么画出曲面图呢?

2024-12-04 16:52:20
推荐回答(1个)
回答(1):

[X,Y,Z]=griddata(x,y,z,linspace(min(x),max(x))',linspace(min(y),max(y)),'v4');%插值

figure,surf(X,Y,Z)%三维曲面