Question: Create three row vectors: a = [3 -1 5 11 -4 2] b = [7 -9 2 13 1 -2] c = [-2 4 -7
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
Script file a3 1 5 11 4 2 b7 9 2 13 1 2 c2 4 7 8 ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
652-B-F-F-M (562).docx
120 KBs Word File
