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

Q5- Create three row vectors:
a =[3151142], b =[7921312], c =[247809]
(a) Use the three vectors in a MATLAB command to create a 3\times 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\times 3 matrix such that the first,
second, and third columns consist of the first three elements of the vectors a, b, and c,
respectively.

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!