Question: Please answer each questions properly using matlab. Also follow the given instruction thank u Upon execution of the script, the global workspace must contain the
Upon execution of the script, the global workspace must contain the following variables 1. Row Vectors: a, b, c, d 2. Column Vectors: w, x, y, z 3. Matrices: A, B, C, D, E, F 1. (5 pts) Creating Vectors: (a) By typing the elements directly, create a row vector a whose elements are 1, 2, -3,-1, 0, 6,-1 (b) By using the colon ("") syntax, create a row vector b whose elements are the odd numbers-7,-5, -3, -1, 1, 3, 5,7. 2. (5 pts) Creating Vectors: (a) By typing the elements directly, create a column vector x whose elements are -10, 21, -3,-4, ,4, (b) By using the colon(" syntax, create a column vector y whose elements are multiples of 3, beginning with 21 and ending with 48 3. (5 pts) Vectors: (a) By using the linspace function, create a row vector c whose first element is 3, whose last element is 17 and which has 27 elements (colus) (b) By using the linspace function, create a column vector z whose first element is 30, whose last element is -10 and which has 13 elements (rows)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
