{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# hwk1 - CS 525 Fall 2011 Homework 1 For practice only(not...

This preview shows pages 1–2. Sign up to view the full content.

CS 525 - Fall 2011 - Homework 1 For practice only (not for submission) * assigned 9/7/11 The data for this problem, namely A = 1 2 6 3 4 5 , B = 1 3 5 4 1 8 1 1 1 , C = 2 1 - 3 1 0 1 , x = 1 3 4 0 - 2 6 , y = 1 2 1 5 2 3 , z = 1 2 1 , α = 3 , can be loaded within MATLAB from hwk1.mat by issuing the load hwk1 command as indicated below in the description of the diary file. Write a MATLAB m-file called hw1run.m to carry out the following op- erations. Make your answers as concise as possible. Hints for the MATLAB commands you should use are given as help statements. 1. Clear the workspace of all variables ( help clear ). 2. Load the data from hwk1.mat and then print out a list of all variables currently in scope ( help who ). 3. Calculate F = AB without printing the result. 4. Calculate and print A - 2 αC .

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
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