Question: 6. (5 marks) Write the MATLAB commands that create the following matrix by using shorthand methods for creating vectors with constant spacing. Do not type
6. (5 marks) Write the MATLAB commands that create the following matrix by using shorthand methods for creating vectors with constant spacing. Do not type individual elements explicitly. A 3 20 12 1-2 5 16 12.8 -3 7 12 13.6 -4 9 8 14.4 -5 11 4 15.2 -6 13 0 16 --7) . Then, do the following: Create a variable x by assigning the value in the 4"row and 3 column of A to s. Do not type the value explicitly. Create a row vector X4 by assigning the 4" row of A to X4. Do not type the values explicitly Create a 2 x 3 matrix named M that contains the elements of A in the Pal and 3 mows, and the 4 to 6 columns. Do not type the values explicitly
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
