
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Dr. Wolfe MATH 240 MATLAB PROJECT #0 Due October 2, 2008
This project is to be done with MATLAB, and you should hand in your printed output. Use the diary command to save your work. Edit the saved file to include your name, the problem numbers, and the answers to any questions asked in the problems. Then print your file. For further information on MATLAB, consult the introduction posted on the class website. Whenever you use a new MATLAB command learn about it by using the help command; e.g., type help ezplot to learn about the ezplot command.
x =
, y =
Note: To enter A type [1 2; 3 4] (a) Compute (if possible) A + B, AC, CA, Ax, By, 4 A − 3 B. Note: To multiply matrices A and B type A ∗ B. (b) Check that (A + B)C = AC + BC, A(C + D) = AC + AD, B(3x − 2 y) = 3 Bx − 2 By. (c) Compute A−^1 , A^3 , A^2 − 5 A − 2 I, AT^. Note: The command for A−^1 is inv(A), the command for A^3 is Aˆ3 and the command for AT^ is A′. (d) Solve Bz = y with the command B\y.
Note: Your graphs will not be saved by the use of the diary command. The command print will cause the current graphics window to be printed at your default printer.