MATLAB Answers

Create n equidistant point along a circle

14 views (last 30 days)
Massimo Fumarola
Massimo Fumarola on 19 Mar 2020
Commented: Matt J on 19 Mar 2020
I'm trying to create a circle (given radius and center) and n=8 equidistant plotted point along the circumference;
If anyone has a sample code or can help me with this, thanks in advance

  0 Comments

Sign in to comment.

Accepted Answer

Matt J
Matt J on 19 Mar 2020
Edited: Matt J on 19 Mar 2020
theta=linspace(0,360,n+1); theta(end)=[];
x=R*cosd(theta)+x0;
y=R*sind(theta)+y0;

More Answers (0)

Sign in to answer this question.


Translated by