用matlab画一个以(40,40)为圆心,以20位半径的圆
r=20; %设置半径为20
theta=0:pi/100:2*pi; %以pi/100为圆心角画圆
x=40+r*cos(theta); %圆心横坐标为40
y=40+r*sin(theta); %圆心纵坐标为40
plot(x,y); %画圆
用matlab画一个以(40,40)为圆心,以20位半径的圆
r=20; %设置半径为20
theta=0:pi/100:2*pi; %以pi/100为圆心角画圆
x=40+r*cos(theta); %圆心横坐标为40
y=40+r*sin(theta); %圆心纵坐标为40
plot(x,y); %画圆