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

3 visualizaciones (últimos 30 días)
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

Respuestas (1)

Walter Roberson
Walter Roberson el 9 de Feb. de 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

Community Treasure Hunt

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

Start Hunting!

Translated by