Rotate circle on polar plot
19 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polar Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!