Create n equidistant point along a circle

28 views (last 30 days)
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

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)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!