Write a user-defined function that plots a circle given the coordinates of the center and a point

Question:

Write a user-defined function that plots a circle given the coordinates of the center and a point on the circle. For the function name and arguments, use circle PC (c, p). The input argument c is a two-element vector with the x and y coordinates of the center and the input argument p is a two-element vector with the x and y coordinates of the a point on the circle. This function has no output arguments. Use the function to plot the following two circles (both in the same figure):
(a) Center at x = 7.2, y = -2.9, point on the circle at x = -1.8, y = 0.5
(b) Center at x = -0.9, y = -3.3, point on the circle at x = 0, y = 10
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: