matlab有趣表白程序_MATLAB程序,只属于理科男的表白,可以画出I love you

t=-2*pi:0.01:2*pi;

x=0.8*cos(t);

y=0.8*sin(t);

subplot(3,4,6)

plot(x,y,'y-')

axis([-1 1 -1 1])

axis square

x=1:0.001:2;

y1=0.8;

y2=0.2;

x1=1.5;

y3=0.2:0.0001:0.8;

subplot(3,4,1)

plot(x,y1,'y-',x,y2,'y-',x1,y3,'y-')

axis([1 2 0 1])

axis square

subplot(3,4,5)

x4=1.3:0.01:2;

x6=1.3;

plot(x6,y3,'y-',x4,y2,'y-')

axis([1 2 0 1])

axis square

x5=-0.6:0.01:0.6;

y5=abs(x5)+0.2;

subplot(3,4,7)

plot(x5,y5,'y-')

axis([-1 1 0 1])

axis square

x6=-pi:0.01:pi/2;

y=0.8*cos(x6);

x=0.8*sin(x6);

X6=-0.8:0.01:0.8;

Y6=0;

subplot(3,4,8)

plot(x,y,'y-',X6,Y6,'y-')

axis([-1 1 -1 1])

axis square

x7=-0.8;

x8=0.8;

y8=0:0.0001:0.8;

X7=pi/2:0.01:3*pi/2;

y9=0.8*cos(X7);

x9=0.8*sin(X7);

subplot(3,4,9)

plot(x7,y8,'y-',x8,y8,'y-',x9,y9,'y-')

axis([-1 1 -1 1])

axis square

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值