Question: 2. Write a Matlab script that draws circles. First, plot one with radius 2 centered at (3, 5). Use a thick line. Make sure

2. Write a Matlab script that draws circles. First, plot one with radius 2 centered at (3, 5). Use a thick line. Make sure the circle looks like a circle and not an ellipse. Also plot a + sign to mark the center of the circle in the same color. Have your script prompt the user for a location for a text label, get the location using ginput, and print the label there. Prompt the user to click the endpoints of a leader line from the text to the circle. Get the points using ginput. Draw a dashed line with the same color as the circle, using those points. On the same plot, do the same thing for a second circle with radius 0.5 centered at (8, 7) and use a different color for the second circle and its accompaniment.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
