Question: Write a MATLAB script that: a) uses the xlsread command to load the EXCEL file HW3Q2.xlsx into MATLAB b) Assigns 'X', yl' and 'y' to
Write a MATLAB script that: a) uses the xlsread command to load the EXCEL file HW3Q2.xlsx into MATLAB b) Assigns 'X', yl' and 'y' to the first, second and third columns respectively. c) Generates a plot of y1 versus x and y2 versus x on the same set of axes, showing grid lines. d) Determine from your plot, the approximate value of x at which y1 = y2. Write this value below your plot. e) Compute y3 = -0.164y1 sin3TT X + 7/7. Generate a plot of y3 versus x showing axes labels and grid lines. SUBMIT: The script, plot from (c) including the detail from (d), and a plot from (e)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
