Rotate circle on polar plot

19 次查看(过去 30 天)
Andrew Luce
Andrew Luce 2020-10-24
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
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?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Polar Plots 的更多信息

标签

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by