Question: (a) The MATLAB commands A = floor(10 * rand(6)), B = A² * A will result in a symmetric matrix with integer entries. Why? Explain.

(a) The MATLAB commands
A = floor(10 * rand(6)), B = A€² * A
will result in a symmetric matrix with integer entries. Why? Explain. Compute B in this way and verify these claims. Next, partition B into four 3 × 3 submatrices. To determine the submatrices in MATLAB, set
B11 = B(l : 3, 1 : 3), B12 = B(l : 3, 4 : 6)
and define B21 and B22 in a similar manner using rows 4 through 6 of B.
(b) Set C = inv(B11). It should be the case that CT = C and B21T = B12. Why? Explain. Use the MATLAB operation €² to compute the transposes and verify these claims. Next, set
E = B21 * C and F = B22 - B21 * C * B21€²
and use the MATLAB functions eye and zeros to construct
(a) The MATLAB commands
A = floor(10 * rand(6)),	B = A€²

Compute H = L * D * L€² and compare it to B by computing H - B. Prove that if all computations had been done in exact arithmetic LDLT would equal B exactly.

I O B11 O

Step by Step Solution

3.44 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a By construction the entries of A were rounded to ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

949-M-L-A-E (485).docx

120 KBs Word File

Students Have Also Explored These Related Linear Algebra Questions!