Question: Instructions: 1. Solve the following problems in a MATLAB script. You will be allowed to submit only one script, please work all the problems in
Instructions: 1. Solve the following problems in a MATLAB script. You will be allowed to submit only one script, please work all the problems in the same script (Hint: careful with variables names) 2. Show your work and make comments in the same script (Use %). Please write your name in the first line of the scrip with % 3. This is an individual effort. No group work. Use of online websites for solutions is strictly prohibited. Your work will be compared to that of other students in the class and to online material to verify compliance with these rules. P1: For the following matrices, A=[3.5 621,and B-|-3 843 and B = find: a. A x B, using matrix multiplication b. Ax B, using element by element multiplication c. determinant of matrix A d. transpose of matrix A e. A-B f. Inverse of matrix A g. A2 using matrix multiplication h. A, using element by element multiplication S A+ B, using matrix division P2: Consider a system of 3 equations 2X1+X-2X3 0, XitX2+3X3 1 and 2X2-X1+5-2, and arranging these in the following matrix form, AX B: a. Find the matrix A b. Find the matrix B c. Find the matrix X by using X A1B d. Find X using equationToMatrix command (Note: you will need the symbolic library) e. Find X using linsolve command (Note: you will need the symbolic library) P3: For the following control system polynomial 2P3+P+p5-3P4+3P2+4-0 find the solution (roots of the polynomial)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
