Perfect circle instances in matlab

1 view (last 30 days)
Hello,
how I can generate in matlab circle instances like I attached

Accepted Answer

Star Strider
Star Strider on 18 Mar 2019
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.
  2 Comments
Petr Hrobar
Petr Hrobar on 19 Mar 2019
thank you very mutch
working perfectly
Star Strider
Star Strider on 19 Mar 2019
My pleasure.
If my Answer helped you solve your problem, please Accept it!

Sign in to comment.

More Answers (0)

Categories

Find more on Line Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!