×
Get Full Access to Math - Textbook Survival Guide
Get Full Access to Math - Textbook Survival Guide
×

# Use MATLAB to construct a matrix A by setting A = vander(1 : 6); A = A diag(sum(A_ ))

ISBN: 9780136009290 436

## Solution for problem 6 Chapter 2

Linear Algebra with Applications | 8th Edition

• Textbook Solutions
• 2901 Step-by-step solutions solved by professors and subject experts
• Get 24/7 help from StudySoup virtual teaching assistants

Linear Algebra with Applications | 8th Edition

4 5 0 428 Reviews
25
4
Problem 6

Use MATLAB to construct a matrix A by setting A = vander(1 : 6); A = A diag(sum(A_ )) (a) By construction, the entries in each row of A should all add up to zero. To check this, set x = ones(6, 1) and use MATLAB to compute the product Ax. The matrix A should be singular. Why? Explain. Use the MATLAB functions det and inv to compute the values of det(A) and A1. Which MATLAB function is a more reliable indicator of singularity? (b) Use MATLAB to compute det(AT ). Are the computed values of det(A) and det(AT ) equal? Another way to check if a matrix is singular is to compute its reduced row echelon form. Use MATLAB to compute the reduced row echelon forms of A and AT . (c) To see what is going wrong, it helps to know how MATLAB computes determinants. The MATLAB routine for determinants first computes a form of the LU factorization of the matrix. The determinant of the matrix L is 1, depending on whether an even or odd number of row interchanges were used in the computation. The computed value of the determinant of A is the product of the diagonal entries of U and det(L) = 1. In the special case that the original matrix has integer entries, the exact determinant should take on an integer value. So in this case MATLAB will round its decimal answer to the nearest integer. To see what is happening with our original matrix, use the

Step-by-Step Solution:
Step 1 of 3

MATH 242: Elementary Differential Equations Dr. Thi Thao Phuong Hoang Notes from 8/24/17 **Note** I Anything abbreviated with is considered the first prime not to be confused with an exponent Intro 8/24/I7 Differential Equations: Functions – y :...

Step 2 of 3

Step 3 of 3

#### Related chapters

Unlock Textbook Solution

Enter your email below to unlock your verified solution to:

Use MATLAB to construct a matrix A by setting A = vander(1 : 6); A = A diag(sum(A_ ))

×