MATLAB: Perfect circle instances in matlab

circle

Hello,
how I can generate in matlab circle instances like I attached

Best Answer

Try this:
a = linspace(0, 2*pi, 59);
x = cos(a);
y = sin(a);
figure
plot(x, y, 'ok', 'MarkerFaceColor','k')
axis equal
It should come close to reproducing the plot image you posted.