b) Consider the following matrices: 1 25-3 -3 4 0 -9 2 -1 7 8 5 6 -2 10 Write MATLAB commands that will: 1) (2 marka) De
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
b) Consider the following matrices: 1 25-3 -3 4 0 -9 2 -1 7 8 5 6 -2 10 Write MATLAB commands that will: 1) (2 marka) De
b) Consider the following matrices: 1 25-3 -3 4 0 -9 2 -1 7 8 5 6 -2 10 Write MATLAB commands that will: 1) (2 marka) Define matrix "A" A= 2) (2 marks) Solve for X in the equation AX = B Results......... ; B 1 3) (2 marks) Find the Transpose of matrix A >> 4) (2 marks) Find the third row of A (call it A3) >> >> Result: X =.. Results: A3 = . 5) (3 marks) Find the product "P" of the fourth row of A with the second column of A Result........ >> Results: P: 6) (2 marks) Add one row vector to the bottom of "A" being the average of each column of A ********** Result: 7) (2 marks) Add one more row vector (at the bottom) being the maximum of each column of the original matrix A *****