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

 

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!