Files
matlab-learning/c5_5_24.m
2025-10-20 10:11:16 +08:00

5 lines
118 B
Matlab

t=0:pi/20:2*pi;
[x,y,z]=cylinder(2+sin(t),30);
subplot(1,3,1);surf(x,y,z);
[x,y,z]=sphere;
subplot(1,3,1);surf(x,y,z);