Create the following three row vectors:

Create the following three row vectors:

MATLAB problem:

 

“Create the following three row vectors: a= [5 8 -1 0 2], b=[4 1 9 -2 3], and c=[-3 5 0 6 1]

a) Use the three vectors in a MATLAB command to create a nine element row vector consisting from the first three elements of the vectors a, b, and c, respectively (i.e, 5 8 -1 9 -3 5 0]

b) Use the three vectors in a MATLAB command to create a nine element column vector consisting from the last three elements of the vectors a, b, and c, respectively.”

 

Answers