Question: in matlab create the following three row vectors 31. Create the following three row vectors: a= [5 8 -1 0 2], b= [4 1 9
in matlab create the following three row vectors
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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
