Rotate circle on polar plot

27 Ansichten (letzte 30 Tage)
Andrew Luce
Andrew Luce am 24 Okt. 2020
Bearbeitet: Mitchell Thurston am 24 Okt. 2020
How do you rotate a circle a certain distance around the polar plot Theta=Linspace(0,2*pi) Rho=Sin(theta) Polarplot(theta,rho)

Antworten (1)

Mitchell Thurston
Mitchell Thurston am 24 Okt. 2020
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 Kommentare
Andrew Luce
Andrew Luce am 24 Okt. 2020
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 am 24 Okt. 2020
Bearbeitet: Mitchell Thurston am 24 Okt. 2020
You can try this out

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Polar Plots finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by