Not excatly sure if I've understood your question, but here's my attempt at interpreting it:
n = 50;
t = linspace(0,2*pi,n);
hold on
plot(cos(t),sin(t))
line([zeros(1,n);cos(t)],[zeros(1,n);sin(t)],'Color','g')
plot(0,0,'.','MarkerSize',40)
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!