Question: Q1: a. Create a random matrix (A) (4x4). b. Find the inverse of A. c. Create a random matrix (b) (1x4) d. Find the product

 Q1: a. Create a random matrix (A) (4x4). b. Find the

Q1: a. Create a random matrix (A) (4x4). b. Find the inverse of A. c. Create a random matrix (b) (1x4) d. Find the product of A*b. e. Pickup the first row of matrix (A) f. Replace the first column of matrix (A) by ones (1s) Q2: a. Define a vector (A) using linspace or other command. You can choose range and step size of your choice. b. Define another vector (B) of same length as (A). c. Take the element wise square of matrix/vector (A) d. Perform an element wise division of A and B e. Perform an element wise multiplication of A and B f. Can we multiply A*B? If Not, why? Can we do it by A*b(transpose)? Q3: Write a MATLAB program that creates matrix A composed of four submatrices (B,C,D, and E) arranged as shown below: B A = LE 9 5 Whereas B is an identity matrix of 5x5. C (5x5) consist of one in the first two columns and the rest of elements are zeros. D (5x5) consist of zeros in the first three columns the remaining two columns are ones and E is a random 5x5 matrix

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Chemical Engineering Questions!