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

 채택된 답변

Matt J
Matt J 2020년 3월 19일
편집: Matt J 2020년 3월 19일

1 개 추천

theta=linspace(0,360,n+1); theta(end)=[];
x=R*cosd(theta)+x0;
y=R*sind(theta)+y0;

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

제품

질문:

2020년 3월 19일

댓글:

2020년 3월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by