• Remix
  • Share
  • New Entry

on 18 Oct 2021
  • 2
  • 26
  • 0
  • 0
  • 208
hold on
theta=0:pi/30:2*pi
theta = 1×61
0 0.1047 0.2094 0.3142 0.4189 0.5236 0.6283 0.7330 0.8378 0.9425 1.0472 1.1519 1.2566 1.3614 1.4661 1.5708 1.6755 1.7802 1.8850 1.9897 2.0944 2.1991 2.3038 2.4086 2.5133 2.6180 2.7227 2.8274 2.9322 3.0369
h=plot(10*cos(theta),10*sin(theta))
h =
Line with properties: Color: [0 0.4470 0.7410] LineStyle: '-' LineWidth: 0.5000 Marker: 'none' MarkerSize: 6 MarkerFaceColor: 'none' XData: [10 9.9452 9.7815 9.5106 9.1355 8.6603 8.0902 7.4314 6.6913 5.8779 5.0000 4.0674 3.0902 2.0791 1.0453 6.1232e-16 -1.0453 -2.0791 -3.0902 -4.0674 -5.0000 -5.8779 -6.6913 -7.4314 -8.0902 -8.6603 -9.1355 -9.5106 -9.7815 -9.9452 -10 … ] YData: [0 1.0453 2.0791 3.0902 4.0674 5.0000 5.8779 6.6913 7.4314 8.0902 8.6603 9.1355 9.5106 9.7815 9.9452 10 9.9452 9.7815 9.5106 9.1355 8.6603 8.0902 7.4314 6.6913 5.8779 5.0000 4.0674 3.0902 2.0791 1.0453 1.2246e-15 -1.0453 -2.0791 … ] ZData: [1×0 double] Show all properties
axis off
r=9;i=1;
for theta=pi/6:pi/6:2*pi
y1=r*cos(theta);
x1=r*sin(theta);
plot([x1/9*8 x1/9*7],[y1/9*8 y1/9*7])
text(x1/9*9.5,y1/9*9.5,num2str(i));
i=i+1;
end
Image
Remix Tree