ASU ID 1206673345 ASU ID 1206673345 Plot the discrete time s
ASU ID 1206673345?
ASU ID 1206673345
Plot the discrete time signals, x_1[n] = {1, n = -2, 0, 1, 3, 5 2, n = -1, 2, 4, 6 and 0, elsewhere x_2[n] = u[n + 3] - u[n - 2] in MATLAB with proper axes labels. b. Plot the discrete time signal, h_1[n] = x_2[n - beta] in MATLAB with proper axes labels, where \'beta\' is given as the last digit of your ASU ID. c. Determine y_1[n] = x_1[n]*h_1[n] using the \'conv\' function in MATLAB. Plot y_1[n] with proper axes labels.Solution
x1 = [1,2,1,1,2,1,2,1,2];
 t1 = [-2:6];
 subplot(4,1,1);
 stem(t1,x1);
 xlabel(\'X1\')
 ylabel(\'time\')
x2 = [1,1,1,1,1];
 t2 = [-3:1];
 subplot(4,1,2);
 stem(t2,x2);
 xlabel(\'X2\');
 ylabel(\'time\');
%last digit is 5
 t3 = [2:6];
 subplot(4,1,3);
 stem(t3,x2);
 xlabel(\'h1 = x2(n-B)\');
 ylabel(\'time\');
%we need to reformat x2 and h1 to convolution with same length
 x2 = [1,1,1,1,1,0,0,0,0,0];
 h1 = [0,0,0,0,0,1,1,1,1,1];
 y1 = conv(x2,h1);
 ty = -3:15;
 subplot(4,1,4);
 stem(ty,y1);
 xlabel(\'x2*h1\');
 ylabel(\'time\');
![ASU ID 1206673345? ASU ID 1206673345 Plot the discrete time signals, x_1[n] = {1, n = -2, 0, 1, 3, 5 2, n = -1, 2, 4, 6 and 0, elsewhere x_2[n] = u[n + 3] - u[n ASU ID 1206673345? ASU ID 1206673345 Plot the discrete time signals, x_1[n] = {1, n = -2, 0, 1, 3, 5 2, n = -1, 2, 4, 6 and 0, elsewhere x_2[n] = u[n + 3] - u[n](/WebImages/11/asu-id-1206673345-asu-id-1206673345-plot-the-discrete-time-s-1007219-1761519381-0.webp)
