function Circle(x,y,R)
Plots a circle. x - abscissa of the centre. y - ordinate of the centre. R - radius
% Create a vector for the angles for which the points of the circle will be % calculated. fi=0:1:360; % Grade --> Radian conversion. fi=fi*pi/180; % Coordinates of the points of the circle px=ones(size(fi))*x+R*cos(fi); py=ones(size(fi))*y+R*sin(fi); % Plot the circle. plot(px,py,'-k');