{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

plugin-CA1

# plugin-CA1 - CE 408/Johnson Computer Assignment#1 Write...

This preview shows page 1. Sign up to view the full content.

Computer Assignment #1 Write M ATLAB programs to solve the following problems. You may work together in groups of at most 3 (turn in just one completed assignment for your group). Problem 1 : Using the functions discussed in §6.0 of the “M ATLAB Notes” handout, create the following matrix in one command (without typing it directly). (M ATLAB will 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 function hist() (see “ help hist ” for details) by normalizing the histogram such that the total area is 1. Based on the examples in the “M ATLAB Notes” handout and using the hist help information, plot a frequency diagram using 100,000 normally-distributed random samples and 50 bins. Make sure you label your axes appropriately and put a title on your graph.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern