From arrays of two columns into multiple circles
    3 次查看(过去 30 天)
  
       显示 更早的评论
    
采纳的回答
  KSSV
      
      
 2021-9-1
        C = rand(10,2) ;
plot(C(:,1),C(:,2),'o','Markersize',10)
If you want circle with given radius R. 
C = rand(10,2) ;
R = 4 ; 
th = linspace(0,2*pi) ;
x = R*cos(th) ;
y = R*sin(th) ; 
figure
hold on
for i = 1:10
    xc = C(i,1)+x ; 
    yc = C(i,2)+y ; 
    plot(xc,yc)
end
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


