Question: 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

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

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

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 Databases Questions!