alpha=0:pi/20:2*pi;%角度[0,2*pi]
R=2;%半径
x0=2;
y0=1;
x=R*cos(alpha)+x0;
y=R*sin(alpha)+y0;
plot(x,y,x0,y0,'p')
axis equal
可绘出圆心为五角星,位置在(x0,y0)处的正圆
R=2;%半径
x0=2;
y0=1;
x=R*cos(alpha)+x0;
y=R*sin(alpha)+y0;
plot(x,y,x0,y0,'p')
axis equal
可绘出圆心为五角星,位置在(x0,y0)处的正圆