How do you rotate a circle a certain distance around the polar plot Theta=Linspace(0,2*pi) Rho=Sin(theta) Polarplot(theta,rho)

답변 (1개)

Mitchell Thurston
Mitchell Thurston 2020년 10월 24일

0 개 추천

For this specific case, you can rotate by adding within the sin(theta) call.
theta = linspace(0,2*pi);
rot_ccw = 1; % rotate the circle counterclockwise by 1 radian
rho = sin(theta + rot_ccw);
polarplot(theta, rho)

댓글 수: 2

Andrew Luce
Andrew Luce 2020년 10월 24일
Thank you I have a follow up question, if this circle was intersecting another circle. How could I find the Intersecting points?
Mitchell Thurston
Mitchell Thurston 2020년 10월 24일
편집: Mitchell Thurston 2020년 10월 24일
You can try this out

댓글을 달려면 로그인하십시오.

카테고리

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

제품

릴리스

R2020b

태그

질문:

2020년 10월 24일

편집:

2020년 10월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by