[SOLVED] CS113 Homework 7

40.00 $

Category: Tags: , ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon HW7-fkkrsd.zip (425.6 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
đź”’ Securely Powered by:
Secure Checkout
5/5 - (2 votes)

Create a single MATLAB script with each problem below as a separate section  (hint: %%).    1. Create a new script    2. Create a comment section at the top with your name, date, HW#, class, etc.    3. The first script commands should erase all the workspace data, command window  output, and close all figures.    4. Create separate sections (%% ) for each problem

Problem 1 (25 pts)

Problem 2 (25 pts)

1

Problem 3 (25 pts)

Problem 4 (25 pts)

2

Bonus question (20 pts)  1. Import the data from “dotData.txt” into MATLAB.  a. The file contains a large set of numbers with each set containing an x (column 1) and  y  (column 2) coordinate and a size value (column 3).  2. Use the rectangle( ) function to plot solid circles at each x,y coordinate that have a  diameter equal to the size value imported from the file.  3. If done correctly, you will recognize the plotted object.  4. Hide the numbers around the perimeter of the plot  5. Add your name somewhere on the figure using your previously created function.

6. Make sure the x and y have the same scale (i.e. a circle will look round instead of

like an ellipse if done correctly).  7. Don’t do steps 4-6 inside a loop unless you want your code to take a LONG time to  run.  8. Modify your code to make the letters in the image red and the rest black.

Turn in the following:    1. A Word (.doc, .docx) document created using the MATLAB publish feature to publish  your script.    2. Your .m script file(s) (these are separate files from the document above). Make sure  you  use  plenty  of  comments.  Before  submitting,  rename  all  *.m  files to  have  a  .txt  extension. For example, rename MyHW6.m to MyHW6.txt before submitting.    Submit all files electronically on Blackboard. See syllabus for late assignment policy.

Late submissions will receive a 10% deduction!                      No submissions will be accepted after one day!

3

 

  • HW7-fkkrsd.zip