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...


tra/courses/ 94728 1/c/outline<br>SSMENTS MAtlab Activity 5<br>Script e<br>A Save<br>C Reset<br>E MATLAB Documentation<br>1% Encode the Matrix A and the column vector b.<br>2 A=<br>3 b-<br>4 % Solve for Determinant of A. Set as dA.<br>5 dA =<br>6 % Find the Inverse of A. set as 1A.<br>7 LA-<br>8 * Find the Eigenvalues of A. Set as eA.<br>9 eA=<br>18 % Form the Reduced Row Echelon of A. Set as rA.<br>11 rA-<br>12 XFind the number of rows and number of columns of Ab. set as rowA and colA.<br>13<br>14 % Find the sum of the columns of A. Set as SumA.<br>15<br>16 Xin each of the columns of A, find the highest values and its indices.Set as highA and locA.<br>17<br>18 KAugmentA with b; Set as Ab.<br>19<br>20 Determine the Rank of Ab. Set as RankA.<br>21<br>22 % Find b\A. Set as Root1.<br>23<br>24 XForm the Reduced Row Echelon Form of Ab. Set as refAb.<br>25<br>26 KExtract the last column of refAb.Set as Root2.<br>27<br>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.<br>29<br>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.<br>31<br>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.<br>33<br>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.<br>urses/_94728_1/c/outline<br>ITS<br>MAtlab Activity 5<br>8 % Find the Elgenvalues of A. Set as eA.<br>9 eA=<br>18 % Form the Reduced Row Echelon of A. Set as rA.<br>11 rA-<br>12 %Find the number of rows and number of columns of Ab. set as rowA and colA<br>13<br>14 % Find the sum of the columns of A. Set as SumA.<br>15<br>16 XIn each of the columns of A, find the highest values and its indices.Set as higha and locA.<br>17<br>18 XAugmentA with b; Set as Ab.<br>19<br>20 XDetermine the Rank of Ab. Set as RankA.<br>21<br>22 % Find b\A. Set as Root1.<br>23<br>24 Form the Reduced Row Echelon Form of Ab. Set as refAb.<br>25<br>26 XExtract the last column of refAb. Set as Root2.<br>27<br>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.<br>29<br>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.<br>31<br>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.<br>33<br>3<br>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.<br>35<br>36 XFind x using Cramer's Rule.<br>37<br>38 XFind y using Cramer's Rule.<br>39<br>4e XFind z using Cramer s Rule.<br>41<br>42 XFind w using Cramer's Rule.<br>43<br>44 %Combine x,y,z and w as column vector Root3.<br>45<br>>Run Script<br>

Extracted 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<br>ASSESSMENTS<br>MAtlab Activity 5<br>My Solutions ><br>Solving Equations Using Matrix<br>Perform the following Matrix Operations for the predefined matrices.<br>Given the System of equations:<br>2x + 4y – 5z+ 3w = -33<br>3x + 5y – 2z + 6w = -37<br>x- 2y + 4z - 2w = 25<br>3x+5y – 3z+ 3w = -28<br>Write the systems as Ax = b, where A is the coefficient matrix and b is the vector for the constants.<br>1. Encode the Matrix A and the column vector b<br>2. Solve for Determinant ofA.<br>3. Find the Inverse of A.<br>4. Find the Eigenvalues of A.<br>5. Form the Reduced Row Echelon of A.<br>6. Find the number of rows and number of columns of Ab.<br>7. Find the sum of the columns of A.<br>8. In each of the columns of A, find the highest values and its indices.<br>9. Augment A with b;<br>10. Determine the Rank of Ab<br>11. Find bVA<br>12. Form the Reduced Row Echelon of Ab.<br>13. Extract the Last Column of the Reduced Row Echelon Form of Ab.<br>14. Create a matrix A whose elements are the same as matrix A, but the first column is the column vector b.<br>15. Create a matrix A whose elements are the same as matrix A, but the second column is the column vector b.<br>16. Create a matrix A whose elements are the same as matrix A, but the third column is the column vector b.<br>O R 冈 B<br>

Extracted 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
Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here