Question: 1. 25 points - This question deals with matrix creation, manipulation, and indexing. Use MATLAB commands to create a matrix A and to make changes
1. 25 points - This question deals with matrix creation, manipulation, and indexing. Use MATLAB commands to create a matrix A and to make changes to the matrix A: a. Use Matlab built-in function magic to create a 10x10 matrix A. b. Change the fifth row of matrix A to 1 and 9th row of matrix A to 0. c. Use Matlab built-in command linspace or colon operator to change the 2nd row of matrix A to [117 104 91 78 65 52 39 26 13 0] d. Multiply the right half of the matrix by 2. e. Divide the left half of the matrix by 2. f. Delete the last two rows of the matrix. 8. Create a new vector from fourth column of the matrix A. h. Calculate the following equation with C from (s): I C3 + D 15 C VC
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
