Question: COE 372 - Winter 2018 Ahmed Abdul- Assignment #1 Due date: Wednesday, 7/2/2018 in class 1. Use colon notation to create vectors identical to the

COE 372 - Winter 2018 Ahmed Abdul- Assignment #1 Due date: Wednesday, 7/2/2018 in class 1. Use colon notation to create vectors identical to the following created with the linspace() function (a) x = linspace(-1, 8, 10) (b) y = linspace(6,3,7) (c) z = linspace(a, b, n) 2. Use MATLAB to plot the function f(x)e-/2 in the interval xe-7,7]. Use suitable a labels and a title. 3. The following matrix is entered in MATLAB: >> A = (linspace(12, 10, 3); 1, 2, 3; 4:0.5:5) Use colon notation to write a single-line MATLAB command to multiply the second row by the third column and assign the result to the variable C. 4. Assume the following matrix X is stored in the current workspace: om 3 N UN 9 m un Create a new matrix Y from X which will produce the following matrix: Y = 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
