How to plot a circle of some radius on a polar plot ?
79 次查看(过去 30 天)
显示 更早的评论
eg. i want a small circle with origin as center of some radius...ON the POLAR plot
0 个评论
采纳的回答
更多回答(1 个)
Gabriel Malagon Carvajal
2017-9-9
When is not center in the origen?
1 个评论
Walter Roberson
2017-9-9
%need centres for demo purposes
xc = randn() * 5; yc = randn() * 5;
%the work
th = linspace(0,2*pi,50);
r = 10;
[x,y] = pol2cart(th,r);
[th1, r1] = cart2pol( x+xc, y+yc );
polar(th1, r1);
另请参阅
类别
在 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!