Question: 6 . ( 1 0 points ) Write MATLAB commands that do the following: a ) Create the following matrix by using shorthand methods for

6.(10 points) Write MATLAB commands that do the following:
a) Create the following matrix by using shorthand methods for creating vectors with
constant spacing. Do not type individual elements explicitly.
=[
14
2520
68
1510
1012
50
1010.811.612.413.214
234567
]
b) Create a variable x by assigning the value in the 4
th row and 3
th column of A to x. Note
that you cannot type the value explicitly.
c) Create a row vector x4 by assigning the 4
th row of A to x4. Note that you cannot type
individual elements explicitly.
d) Create a column vector y3 by assigning the 3
rd column of A to y3. Note that you cannot
type individual elements explicitly.
e) Create a 2\times 4 matrix named M that contains the elements of A in the 2nd and the 3
rd
rows, and the 3
rd to the last columns. Note that you cannot type individual elements
explicitly.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!