Solving Equations Using Matrix Perform the following Matrix Operations for the predefined matrices Given the System of equations: 2x+ 4y - Sz+ 3w m -33 3x + 5y - 2: + 6w = -37 *-2y + 42 - 2w = 25 3x + 5y- 3z+ 3w= -28 Write the systems as Ax = b, where A is the coefficient matriox and b is the vector for the constants. 1. Encode the Matrix A and the column vector b. 2. Solve for Determinant of A. 3. Find the Inverse of A. 4. Find the Eigenvalues of A. 5. Form the Reduced Row Echelon of A. 6. Find the number of rows and number of columns of Ab. 7. Find the sum of the columns of A. 8. In each of the columns of A. find the highest values and its indices. 9. Augment A with bị 10. Determine the Rank of Ab 11. Find bA 12. Form the Reduced Row Echelon of Ab. 13. Extract the Last Column of the Reduced Row Echelon Form of Ab. 14. Create a matrix A whose elements are the same as matrix A. but the first column is the column vector b. 15. Create a matrix A whose elements are the same as matrix A, but the second column is the column vector b. 16. Create a matrix A whose elements are the same as matrix A, but the third column is the column vector b

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
tra/courses/ 94728 1/c/outline
SSMENTS MAtlab Activity 5
Script e
A Save
C Reset
E MATLAB Documentation
1% Encode the Matrix A and the column vector b.
2 A=
3 b-
4 % Solve for Determinant of A. Set as dA.
5 dA =
6 % Find the Inverse of A. set as 1A.
7 LA-
8 * Find the Eigenvalues of A. Set as eA.
9 eA=
18 % Form the Reduced Row Echelon of A. Set as rA.
11 rA-
12 XFind the number of rows and number of columns of Ab. set as rowA and colA.
13
14 % Find the sum of the columns of A. Set as SumA.
15
16 Xin each of the columns of A, find the highest values and its indices.Set as highA and locA.
17
18 KAugmentA with b; Set as Ab.
19
20 Determine the Rank of Ab. Set as RankA.
21
22 % Find b\A. Set as Root1.
23
24 XForm the Reduced Row Echelon Form of Ab. Set as refAb.
25
26 KExtract the last column of refAb.Set as Root2.
27
28 XCreate a matrix A whose elements are the same as matrix A, but the first column is the column vector b. Set as Ax.
29
38 XCreate a matrix A whose elements are the same as matrix A, but the second column is the column vector b. Set as Ay.
31
32 Create a matrix A whose elements are the same as matrix A, but the third column is the column vector b. Set as Az.
33
34 KCreate a matrix A whose elements are the same as matrix A, but the fourth column is the column vector b. Set as Aw.
urses/_94728_1/c/outline
ITS
MAtlab Activity 5
8 % Find the Elgenvalues of A. Set as eA.
9 eA=
18 % Form the Reduced Row Echelon of A. Set as rA.
11 rA-
12 %Find the number of rows and number of columns of Ab. set as rowA and colA
13
14 % Find the sum of the columns of A. Set as SumA.
15
16 XIn each of the columns of A, find the highest values and its indices.Set as higha and locA.
17
18 XAugmentA with b; Set as Ab.
19
20 XDetermine the Rank of Ab. Set as RankA.
21
22 % Find b\A. Set as Root1.
23
24 Form the Reduced Row Echelon Form of Ab. Set as refAb.
25
26 XExtract the last column of refAb. Set as Root2.
27
28 XCreate a matrix A whose elements are the same as matrix A, but the first column is the column vector b. Set as Ax.
29
30 XCreate a matrix A whose elements are the same as matrix A, but the second column is the column vector b. Set as Ay.
31
32 XCreate a matrix A whose elements are the same as matrix A, but the third column is the column vector b. Set as Az.
33
3
34 Xcreate a matrix A whose elements are the same as matrix A, but the fourth column is the column vector b. Set as Aw.
35
36 XFind x using Cramer's Rule.
37
38 XFind y using Cramer's Rule.
39
4e XFind z using Cramer s Rule.
41
42 XFind w using Cramer's Rule.
43
44 %Combine x,y,z and w as column vector Root3.
45
>Run Script
Transcribed Image Text:tra/courses/ 94728 1/c/outline SSMENTS MAtlab Activity 5 Script e A Save C Reset E MATLAB Documentation 1% Encode the Matrix A and the column vector b. 2 A= 3 b- 4 % Solve for Determinant of A. Set as dA. 5 dA = 6 % Find the Inverse of A. set as 1A. 7 LA- 8 * Find the Eigenvalues of A. Set as eA. 9 eA= 18 % Form the Reduced Row Echelon of A. Set as rA. 11 rA- 12 XFind the number of rows and number of columns of Ab. set as rowA and colA. 13 14 % Find the sum of the columns of A. Set as SumA. 15 16 Xin each of the columns of A, find the highest values and its indices.Set as highA and locA. 17 18 KAugmentA with b; Set as Ab. 19 20 Determine the Rank of Ab. Set as RankA. 21 22 % Find b\A. Set as Root1. 23 24 XForm the Reduced Row Echelon Form of Ab. Set as refAb. 25 26 KExtract the last column of refAb.Set as Root2. 27 28 XCreate a matrix A whose elements are the same as matrix A, but the first column is the column vector b. Set as Ax. 29 38 XCreate a matrix A whose elements are the same as matrix A, but the second column is the column vector b. Set as Ay. 31 32 Create a matrix A whose elements are the same as matrix A, but the third column is the column vector b. Set as Az. 33 34 KCreate a matrix A whose elements are the same as matrix A, but the fourth column is the column vector b. Set as Aw. urses/_94728_1/c/outline ITS MAtlab Activity 5 8 % Find the Elgenvalues of A. Set as eA. 9 eA= 18 % Form the Reduced Row Echelon of A. Set as rA. 11 rA- 12 %Find the number of rows and number of columns of Ab. set as rowA and colA 13 14 % Find the sum of the columns of A. Set as SumA. 15 16 XIn each of the columns of A, find the highest values and its indices.Set as higha and locA. 17 18 XAugmentA with b; Set as Ab. 19 20 XDetermine the Rank of Ab. Set as RankA. 21 22 % Find b\A. Set as Root1. 23 24 Form the Reduced Row Echelon Form of Ab. Set as refAb. 25 26 XExtract the last column of refAb. Set as Root2. 27 28 XCreate a matrix A whose elements are the same as matrix A, but the first column is the column vector b. Set as Ax. 29 30 XCreate a matrix A whose elements are the same as matrix A, but the second column is the column vector b. Set as Ay. 31 32 XCreate a matrix A whose elements are the same as matrix A, but the third column is the column vector b. Set as Az. 33 3 34 Xcreate a matrix A whose elements are the same as matrix A, but the fourth column is the column vector b. Set as Aw. 35 36 XFind x using Cramer's Rule. 37 38 XFind y using Cramer's Rule. 39 4e XFind z using Cramer s Rule. 41 42 XFind w using Cramer's Rule. 43 44 %Combine x,y,z and w as column vector Root3. 45 >Run Script
CS10-8L_B21_3Q2122
ASSESSMENTS
MAtlab Activity 5
My Solutions >
Solving Equations Using Matrix
Perform the following Matrix Operations for the predefined matrices.
Given the System of equations:
2x + 4y – 5z+ 3w = -33
3x + 5y – 2z + 6w = -37
x- 2y + 4z - 2w = 25
3x+5y – 3z+ 3w = -28
Write the systems as Ax = b, where A is the coefficient matrix and b is the vector for the constants.
1. Encode the Matrix A and the column vector b
2. Solve for Determinant ofA.
3. Find the Inverse of A.
4. Find the Eigenvalues of A.
5. Form the Reduced Row Echelon of A.
6. Find the number of rows and number of columns of Ab.
7. Find the sum of the columns of A.
8. In each of the columns of A, find the highest values and its indices.
9. Augment A with b;
10. Determine the Rank of Ab
11. Find bVA
12. Form the Reduced Row Echelon of Ab.
13. Extract the Last Column of the Reduced Row Echelon Form of Ab.
14. Create a matrix A whose elements are the same as matrix A, but the first column is the column vector b.
15. Create a matrix A whose elements are the same as matrix A, but the second column is the column vector b.
16. Create a matrix A whose elements are the same as matrix A, but the third column is the column vector b.
O R 冈 B
Transcribed Image Text:CS10-8L_B21_3Q2122 ASSESSMENTS MAtlab Activity 5 My Solutions > Solving Equations Using Matrix Perform the following Matrix Operations for the predefined matrices. Given the System of equations: 2x + 4y – 5z+ 3w = -33 3x + 5y – 2z + 6w = -37 x- 2y + 4z - 2w = 25 3x+5y – 3z+ 3w = -28 Write the systems as Ax = b, where A is the coefficient matrix and b is the vector for the constants. 1. Encode the Matrix A and the column vector b 2. Solve for Determinant ofA. 3. Find the Inverse of A. 4. Find the Eigenvalues of A. 5. Form the Reduced Row Echelon of A. 6. Find the number of rows and number of columns of Ab. 7. Find the sum of the columns of A. 8. In each of the columns of A, find the highest values and its indices. 9. Augment A with b; 10. Determine the Rank of Ab 11. Find bVA 12. Form the Reduced Row Echelon of Ab. 13. Extract the Last Column of the Reduced Row Echelon Form of Ab. 14. Create a matrix A whose elements are the same as matrix A, but the first column is the column vector b. 15. Create a matrix A whose elements are the same as matrix A, but the second column is the column vector b. 16. Create a matrix A whose elements are the same as matrix A, but the third column is the column vector b. O R 冈 B
Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY