Using the signal x[n] as shown in Figure 1, plot the following time-modified versions (on a single figure window using subplot()): x[n+2], x[5-n], x[n/2], and x[2-2n]. When run, your script should automatically plot only one figure, which shows all 4 plots with (a) on top and (d) at the bottom. Label your axes as x_a, x_b, x_c, etc. for each plot.
-2
0 n
1
2
3
4
Figure 1: x[n] for Question 1