This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: Do problem 27 in section 2.3 (pg. 55) Problem 10: Let’s do a warmup Matlab question. Please include a printout of your Matlab code with your problem set! You can type diary(’ﬁlename’) at the beginning of your session to save a transcript, and diary oﬀ when you’re done. Let’s check that in general the products of matrices AB and BA are not equal. (However, as we’ll see later, some properties of the two products are the same.) We start with matrices of diﬀerent sizes. Type in the commands A=ones(3,2) and B=ones(2,3) (that is, A and B are the 3by2 and 2by3 matrices with all entries equal to 1). Compute A*B and B*A . What are their sizes? Now multiply 3 by 3 matrices C (your choice) and a random D (use the command D = rand(3,3) ). Does CD = DC ? Do their diagonals have the same sum (this is called the trace)? Find inv(C) and inv(D). 2...
View
Full
Document
This note was uploaded on 08/10/2008 for the course MATH 250 taught by Professor Chanillo during the Spring '08 term at Rutgers.
 Spring '08
 CHANILLO

Click to edit the document details