Computer Assignment #1Write MATLABprograms to solve the following problems. You may work together in groups of atmost 3 (turn in just one completed assignment for your group).Problem 1: Using the functions discussed in §6.0 of the “MATLABNotes” handout, create thefollowing matrix in one command (without typing it directly). (MATLABwill print all of the num-bers with 4 digits past the decimal — that’s okay.)Problem 2: A frequency diagram can be created using the information returned by the functionhist()(see “help hist” for details) by normalizing the histogram such that the total areais 1.Based on the examples in the “MATLABNotes” handout and using the histhelp information,plot a frequency diagram using 100,000 normally-distributed random samples and 50 bins. Makesure you label your axes appropriately and put a
This is the end of the preview. Sign up
access the rest of the document.
This note was uploaded on 01/02/2012 for the course CIVIL ENG 408 at USC.