31. Create the following three row vectors: a=[5 8 -1 0 2], b=[4 1 9 -2 3],...

Question:

31. 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 4 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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: