dividing a circle into equal 8 parts and and get a point on which it cuts the circle
2 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (1 件)
Walter Roberson
2016 年 2 月 9 日
[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
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!