It’s not immediately obvious how to plot a circle in Matlab Write the
function [x,y]=getCircle(center,r) to get the x and y coordinates of a circle the circle should be centered at center (2-element vector containing the x and y values of the
center) and have radius r. Return x and y such that plot(x,y) will plot the circle.