Question: Write the commands to execute the following: 6. Create a 3X3 matrix, A, with the elements, 12, 40, 5 in the 2nd Row, 9,
Write the commands to execute the following: 6. Create a 3X3 matrix, A, with the elements, 12, 40, 5 in the 2nd Row, 9, 14, 20 in the first row and 50, 17, 1 in the 3rd row. Create matrix B, a 3X3 with random integer elements from MATLAB, within the range of 0 to 10. [1 mark] 7. Multiply matrix B by its identity matrix. [1 mark] 8. Multiply matrix A by its null matrix. [1 mark] 9. Place the first column of B into the last column of A. [1 mark] 10. Place the last row of B into the last row of A. [1 mark] 11. Place the first row of A into the 2nd column of B. [1 mark] 12. Extract a 2x2 matrix from matrix A and store it in a matrix named C. [1 mark] 13. Find the inverse of C. [1 mark] 14. Find the absolute value of all the elements in matrix B. [1 mark] 15. Find the result of num1 raised to the power of num2: [1 mark, both ways]
Step by Step Solution
There are 3 Steps involved in it
Here are the MATLAB commands to perform the tasks youve described Create matrix A A 9 14 20 1... View full answer
Get step-by-step solutions from verified subject matter experts
