t = 0:0.01:2*pi;
x = r*cos(t);
y = r*sin(t);
plot(x,y)
hold on