matlab作图

https://blog.csdn.net/sinat_17306241/article/details/102732746 MATLAB画图颜色渐变

matlab作图

https://blog.csdn.net/rothschildxiaobo/article/details/88736539 Matlab 绘制三维散点图并进行曲面拟合

matlab作图

https://blog.csdn.net/baishuo8/article/details/81331245 【MATLAB】MATLAB 可视化之曲面图与网格图

https://blog.csdn.net/hhhhhyyyyy8/article/details/77870736   MATLAB中peaks函数的用法

https://blog.csdn.net/glb562000520/article/details/10329471Matlab之peaks,mesh,meshgrid函数


已知XYZ几点,画出三维曲面:

x=[0,2,4,2,4,0,0];
y=[0,2,4,0,0,4,2]; 
z=[-7,-6,0,-6,-3,-4,-5]; 

ti = 0:1:4;
[XI,YI] = meshgrid(ti,ti);
ZI = griddata(x,y,z,XI,YI);
surf(XI,YI,ZI)

xlabel('X');
ylabel('Y');
zlabel('Z');
title('lv');

matlab作图matlab作图

 surf(XI,YI,ZI);                                 mesh(XI,YI,ZI);

matlab作图

上一篇:CLion0-使用CLion构建CUDA开发环境


下一篇:高性能 TCP & UDP 通信框架 HP-Socket v3.2.3