dividing a circle into equal 8 parts and and get a point on which it cuts the circle

3 views (last 30 days)
I am trying to divide a circle (given the radius and the center)into 8 parts and then i want a point on which it cuts the circle .i am cutting a circle in 8 parts so i should have 8 points on circle on which it cuts

Answers (1)

Walter Roberson
Walter Roberson on 9 Feb 2016
[X,Y] = pol2cart(2*pi*(0:7)/8, r); %1/8th of a circle
X = X + Xc; %translate to center
Y = Y + Yc; %translate to center

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!