%in the name of God hold on r =26; turn = 50; tetha = 0:0.003:2*turn*pi; r1 = randi(15); r2 = randi(200); speed = r1 + 1 / r2; x = cos(tetha) * r + cos(speed*tetha) * 6; y = sin(tetha) * r + sin(speed*tetha) * 6; plot(x, y, 'r'); r=9; turn = 50; tetha = 0:0.003:2*turn*pi; r1 = randi(15); r2 = randi(200); speed = r1 + 1 / r2; x = cos(tetha) * r + cos(speed*tetha) * 8; y = sin(tetha) * r + sin(speed*tetha) * 8; plot(x, y, 'g'); ylabel( ['nooh124.blog.ir'] ) axis equal; axis([-32.5 32.5 -32.5 32.5]) print -dpng figure.png
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more