Hi,
I draw a circle of radius 1, and I want to draw eqaully sized squares in the background of the circle. Kindly some one help,
r = 1. 0;
th = linspace(0,2*pi) ;
x = r*cos(th) ;
y = r*sin(th) ;
patch(x,y,rand(1,3)) ;
axis equal
Now I want draw 10x10 squares as a background to the circle (the dia of each square is (2*r/10)).
0 Comments
Sign in to comment.