如何用matlab中griddata函数来画出三维图像?3564231.786\x05499937.723\x0530.4423565858.080 \x05499248.000 \x0531.225 3564029.592 \x05499613.378 \x0530.134 3565549.066 \x05498813.558 \x0531.110 3563826.318 \x05499348.917 \x0530.059 3566091.4

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/23 21:28:28
如何用matlab中griddata函数来画出三维图像?3564231.786\x05499937.723\x0530.4423565858.080\x05499248.000\x0531.22535

如何用matlab中griddata函数来画出三维图像?3564231.786\x05499937.723\x0530.4423565858.080 \x05499248.000 \x0531.225 3564029.592 \x05499613.378 \x0530.134 3565549.066 \x05498813.558 \x0531.110 3563826.318 \x05499348.917 \x0530.059 3566091.4
如何用matlab中griddata函数来画出三维图像?
3564231.786\x05499937.723\x0530.442
3565858.080 \x05499248.000 \x0531.225
3564029.592 \x05499613.378 \x0530.134
3565549.066 \x05498813.558 \x0531.110
3563826.318 \x05499348.917 \x0530.059
3566091.401 \x05499632.434 \x0530.709
3564312.203 \x05500321.498 \x0531.206
3566375.346 \x05499179.740 \x0526.424
3564827.161 \x05500392.773 \x0529.487
3566324.849 \x05498659.474 \x0525.790
3564001.762 \x05500353.270 \x0531.338
3567660.247 \x05499189.334 \x0531.128
3566814.699 \x05499080.199 \x0530.989
3567961.396 \x05498691.018 \x0530.160
3566854.849 \x05498567.506 \x0530.741
3567538.805 \x05499757.287 \x0531.074
3566774.076 \x05499599.745 \x0530.621
3567524.909 \x05500219.017 \x0531.183
3568016.260 \x05499235.369 \x0530.332
这是xyz坐标,我想画成类似于以下的图.

如何用matlab中griddata函数来画出三维图像?3564231.786\x05499937.723\x0530.4423565858.080 \x05499248.000 \x0531.225 3564029.592 \x05499613.378 \x0530.134 3565549.066 \x05498813.558 \x0531.110 3563826.318 \x05499348.917 \x0530.059 3566091.4
x=[];
y=[];
z=[];
subplot(121)
plot3(x,y,z);
[xx,yy]=meshgrid(x,y);
zz=griddata(x,y,z,xx,yy);
subplot(122)
mesh(xx,yy,zz)