Matlab 3D 图像绘制:sin(x) 函数可视化
[x,y] = meshgrid(-10:0.1:10,-10:0.1:10); z = sin(sqrt(x.^2+y.^2))./(sqrt(x.^2+y.^2)); surf(x,y,z); xlabel('X'); ylabel('Y'); zlabel('Z'); title('3D Plot of sin(x)');
原文地址: https://www.cveoy.top/t/topic/nAMo 著作权归作者所有。请勿转载和采集!