Create n equidistant point along a circle

5 Ansichten (letzte 30 Tage)
Massimo Fumarola
Massimo Fumarola am 19 Mär. 2020
Kommentiert: Matt J am 19 Mär. 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

Akzeptierte Antwort

Matt J
Matt J am 19 Mär. 2020
Bearbeitet: Matt J am 19 Mär. 2020
theta=linspace(0,360,n+1); theta(end)=[];
x=R*cosd(theta)+x0;
y=R*sind(theta)+y0;

Weitere Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by