Question: Please, solve according to matlab codes step by step. h. Create a matrix called MA which has length(VA) rows and each row equals to HA
Please, solve according to matlab codes step by step.

h. Create a matrix called MA which has length(VA) rows and each row equals to HA by using meshgrid.
Create the following matrix 12 35 36 12 54 28 34 65 66 62 41 65 A-148 23 48 87 10 40 77 65 76 22 38 54 76 13 12 10 52 38 a. Find locations (i.e. row and column indices) of 10th, 16th and 24th elements of matrix A. (Hint: Use "floor" and "rem" built-in functions.) b. Find the element index of A(2,3), A(3,4) and A(5,5). c. Use "reshape" command to convert the 5 by 6 given matrix A to a 10 by 3 matrix. Assign the new matrix into a variable called B. In which order the elements were assigned into new matrix? Explain d. Find locations (i.e. row and column indices) of 10h 16h and 24h elements of matrix B. e. Find the element index of B(2,3), A(7,3) and A(5,3). f. Sort matrix A based on the third column in ascending order and descending orders by using the "sortrows" built-in function. g. Assign the first column of matrix A into a vector called VA and last row into a vector HA
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
