Create three row vectors: a = [3 -1 5 11 -4 2] b = [7 -9 2

Question:

Create three row vectors:
a = [3 -1 5 11 -4 2]
b = [7 -9 2 13 1 -2]
c = [-2 4 -7 8 0 9]
(a) Use the three vectors in a MATLAB command to create a 3 × 4 matrix such that the first, second, and third rows consist of the last four elements of the vectors a, b, and c, respectively.
(b) Use the three vectors in a MATLAB command to create a 3 × 3 matrix such that the first, second, and third columns consist of the first 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: