question
2. Use Matlab to make a plot that looks similar to the following. Subplot 1: Subplot 2: 0.5 0 4 4 4 Subplot 3 and 4: 3 1 0 2 -1 0 2 ● Make subplot 1 to be a sine wave (with-1 to +1 peak to peak value, length to be at least one cycle). ● subplot 2 to be a cosine wave (with-1 to +1 peak to peak value, length to be at least one cycle) ● subpot 3 to be sine wave minus the cosine wave you plotted in subplot 1 and subplot 2. Make sure you label the title, and x and y axes in all plots. ● ● Please submit the screenshot of the final plot (2 points) and the code (2 points) 0 -0.5 -1 4 -2 2 0 2 0 2
Matlab 2. Use Matlab to make a plot that looks similar to the following. Subplot 1: Subplot 2: 0.5 0 4 4 4 Subplot 3 and 4: 3 1
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am