Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Questions 03a-03d in MATLAB commands To begin this problem do the following work. 1. Set the random seed value of 1. Do that by using

image text in transcribedimage text in transcribed

Questions 03a-03d in MATLAB commands

To begin this problem do the following work. 1. Set the random seed value of 1. Do that by using the following cmd, rng(1); % If you fail to start with this you will get incorrect xy values 2. Create array x filled with 1000 random doubles, r, such that -5.0 1.0 and distance 2.0 and distance 3.0 Use the plot cmd to plot the following, Plot circles for each of the xycoords as follows, plot a red circle for each xycoord that is 3.0 from the origin. The xycoord circles should use the Marker FaceColor and MarkerEdgeColor Property, Hint: Use MarkerFaceColor and MarkerEdgeColor for each circle. For example, use the following cmd to create a red circle with black edges plot(x(i), y(i),'o', 'MarkerFaceColor', 'r', 'MarkerEdgeColor', 'k'); Then plot the three circles for the target as follows, one red circle w/radius of 1.0 one green circle w/radius of 2.0 one blue circle w/radius of 3.0 Hint: Use axis square and [-5,5, -5,5] to give your plot equal height and width axis ('square', [-5,5,-5,5]); % set plot with equal height and width Your plot should be match the example but with your name and with the correct number of values, instead of ???. Use the text cmd to place text the plot that matches the example Use the legend cmd to place text the plot that matches the example Refer to Ch5 for information on how to use the text and legend cmds Make sure your plot has matching x and y limits Make sure your plot has matching x and y ticks Print and save the plot as po3.svg

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Inductive Databases And Constraint Based Data Mining

Authors: Saso Dzeroski ,Bart Goethals ,Pance Panov

2010th Edition

1489982175, 978-1489982179

More Books

Students explore these related Databases questions