Question: MATLAB ONLY. Problems In this lab, we will use MATLAB to solve a variety of problems. 1. Vector Manipulation (40 points) Use MATLAB to generate
MATLAB ONLY.

Problems In this lab, we will use MATLAB to solve a variety of problems. 1. Vector Manipulation (40 points) Use MATLAB to generate a row vector A and a column vector B of the same size specified by the user. Both A and B contain as elements random integers from 0 to 100. Calculate the following quantities: (a) The sum of A and B (b) A minus B. (c) The inner product of A and B. (d) The outer product of A and B. For a b, implement the calculations using both a for loop and MATLAB vector operations. For d, implement using MATLAB vector operations. 2. Solving a linear system of equations (20 points) Use MATLAB to solve the following system of linear equations 28 118 2 176 451TA 236z5 56 120 103r3+ 271r4 287 112 235r2 313r3 874T4 398r 5 470r2-t 626r3+ 1688 733T5 224T1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
