Rotate circle on polar plot
16 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How do you rotate a circle a certain distance around the polar plot Theta=Linspace(0,2*pi) Rho=Sin(theta) Polarplot(theta,rho)
0 commentaires
Réponses (1)
Mitchell Thurston
le 24 Oct 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 commentaires
Voir également
Catégories
En savoir plus sur Polar Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!