This commit is contained in:
2025-11-17 11:16:02 +08:00
Unverified
parent 4bd2d87fc4
commit 1b3b07a7f6
35 changed files with 454 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
% 2
subplot(1,2,1)
t=0:0.1:2*pi;
x=sin(3*t).*cos(t);
y=sin(3*t).*sin(t);
plot(x,y,'-r','Linewidth',5);
subplot(1,2,2)
y1=sin(x);
y2=sin(x).*exp(-0.1*x);
plot(x,y1,'+b',x,y2,'-g')
title('线y1 y2')
xlabel('x')
ylabel('y')
legend('y1','y2');