Question: 1. Create a vector with equally spaced intervals. You can define the length and space by yourself. 2. Generate a matrix if you defined the

 1. Create a vector with equally spaced intervals. You can define

1. Create a vector with equally spaced intervals. You can define the length and space by yourself. 2. Generate a matrix if you defined the above A matrix, what are the results of the following equations: (a) A(2,2)-0 (b) AC,3)-0 3. A-1 :3:4:6;79], get the answers for (a) A(2,3) 4. A-,get the answers for (b) A(3) (d) A(2) +A(5) 5. If A and B are defined as what are the results of the following equations: C- A+B C A-B C- A/B 6. Make a new M file, finish the following questions. (a) A-,2.7, 8.9,-8, 4, 3.5; 6.5, 8.9, 5, -0.9, 3, 19]: (b) Set every element in six column to be 0.7 (c) Remove the second column in A (d) get the norm of A; (e) Return the mean value of whole A (f) Return the mean value of the every row in A; 7. Make a new M file, finish the following questions. (a) A [, 2, 3;4, 5, 6; 7, 8,9] (b) get the transpose of A, name it to be C; (c) get the inner product of B and C; (d) get the distance of the first column of A and the second column of B

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 Databases Questions!