• Remix
  • Share
  • New Entry

on 18 Oct 2021
  • 2
  • 5
  • 0
  • 0
  • 174
t=linspace(0,6*pi,100)
t = 1×100
0 0.1904 0.3808 0.5712 0.7616 0.9520 1.1424 1.3328 1.5232 1.7136 1.9040 2.0944 2.2848 2.4752 2.6656 2.8560 3.0464 3.2368 3.4272 3.6176 3.8080 3.9984 4.1888 4.3792 4.5696 4.7600 4.9504 5.1408 5.3312 5.5216
x=cos(t)
x = 1×100
1.0000 0.9819 0.9284 0.8413 0.7237 0.5801 0.4154 0.2358 0.0476 -0.1423 -0.3271 -0.5000 -0.6549 -0.7861 -0.8888 -0.9595 -0.9955 -0.9955 -0.9595 -0.8888 -0.7861 -0.6549 -0.5000 -0.3271 -0.1423 0.0476 0.2358 0.4154 0.5801 0.7237
y=2*sin(t)
y = 1×100
0 0.3785 0.7433 1.0813 1.3802 1.6292 1.8193 1.9436 1.9977 1.9796 1.8900 1.7321 1.5115 1.2363 0.9165 0.5635 0.1901 -0.1901 -0.5635 -0.9165 -1.2363 -1.5115 -1.7321 -1.8900 -1.9796 -1.9977 -1.9436 -1.8193 -1.6292 -1.3802
z=2*t
z = 1×100
0 0.3808 0.7616 1.1424 1.5232 1.9040 2.2848 2.6656 3.0464 3.4272 3.8080 4.1888 4.5696 4.9504 5.3312 5.7120 6.0928 6.4736 6.8544 7.2352 7.6160 7.9968 8.3776 8.7584 9.1392 9.5200 9.9008 10.2816 10.6624 11.0432
for i=1:length(x)
plot3(x,y,z,'Color','k','Linewidth',1)
hold on
axis off
plot3(x(i),y(i),z(i),'Or','Markersize',5)
hold off
drawnow
end
Image
Remix Tree