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

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.

Step by Step Solution

3.26 Rating (167 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Script file a3 1 5 11 4 2 b7 9 2 13 1 2 c2 4 7 8 ... View full answer

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

Document Format (1 attachment)

Word file Icon

652-B-F-F-M (562).docx

120 KBs Word File

Students Have Also Explored These Related Finance Questions!