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

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
ESSMENTS
MAtlab Activity 5
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
Transcribed Image Text:ESSMENTS MAtlab Activity 5 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
10 % 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 %In each of the columns of A, find the highest values and its indices.Set as highA and locA.
17
18 %Augment A 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 %Form the Reduced Row Echelon Form of Ab. Set as refAb.
25
26 %Extract the last column of refAb.Set as Root2.
27
28 %Create 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 %Create 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 %Create 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 %Find x using Cramer's Rule.
37
38 %Find y using Cramer's Rule.
39
40 %Find z using Cramer's Rule.
41
42 %Find w using Cramer's Rule.
43
44 %Combine x,y,z and w as column vector Root3.
45
Transcribed Image Text:10 % 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 %In each of the columns of A, find the highest values and its indices.Set as highA and locA. 17 18 %Augment A 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 %Form the Reduced Row Echelon Form of Ab. Set as refAb. 25 26 %Extract the last column of refAb.Set as Root2. 27 28 %Create 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 %Create 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 %Create 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 %Find x using Cramer's Rule. 37 38 %Find y using Cramer's Rule. 39 40 %Find z using Cramer's Rule. 41 42 %Find w using Cramer's Rule. 43 44 %Combine x,y,z and w as column vector Root3. 45
Expert Solution
steps

Step by step

Solved in 4 steps with 2 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