Question: matlab question 5. (15%) in your function, 1) create a vector x for 0 to 2nt with incremental value 0.1, and vector y1 and y2
5. (15%) in your function, 1) create a vector x for 0 to 2nt with incremental value 0.1, and vector y1 and y2 such that: y1 = sin(x) + 1; y2 = sin(x + 1/2) - 1; 2) those 2 curves on the same plot, where yl's style is red color, data point is noted as '+', and linked by dashed line'--'; and y2 style is green color, data point is symbolized with '*', and linked by dotted line''. 3) Include a title of the plot (Problem 5). Label the x-, y-axes as "X", "Y", Save the plot
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
