Write a Matlab script file to draw a circle. The program should ask a user to enter the radius of the circle. Solution %function circle(x,y,r) %x and y are the coordinates of the center of the circle %r is the radius of the circle %0.01 is the angle step, bigger values will draw the circle faster but %you might notice imperfections (not very smooth) prompt = \' Enter the radius of circle \'; r = input(prompt) ang=0:0.01:2*pi; xp=r*cos(ang); yp=r*sin(ang); plot(x+xp,y+yp); end.