Question: Simple MATLAB programming please! EXERCISE 1 Enter the following matrices and vectors in MATLAB -8 6 7 1 0 A= -2 -6 -9 -6 1
Simple MATLAB programming please!

EXERCISE 1 Enter the following matrices and vectors in MATLAB -8 6 7 1 0 A= -2 -6 -9 -6 1 -4 B= b = 5 5 C = 4 17 28 25 0 15 19 6 17 0 [- -2 4 -3 ], d= 3 4 (a) Perform the following operations: AB, BA, CA and Bd (use standard linear algebra multiplication). (b) Construct a 6 x 3 matrix C = A B and a 3 x 4 matrix D = [B d]. (c) Use the backslash command to solve the system Ax = b. (d) Replace (1, 2)-entry of the matrix A by 0. (e) Extract the 2nd row of the matrix A and store it as a vector a. (f) A row or a column of a matrix can be deleted by assigning the empty vector [] to the row or the column; (for instance A(2,:)=[] deletes the second row of the matrix A). Delete the second column of the matrix B
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
