--------------
%matlab
x=[3 11 7 0 -1 4 2];
h=[2 3 0 -5 2 1];
y=conv(x,h);
disp('convolution sequence of x,h, is');
disp(num2str(y));
n=-4:7;
stem(n,y);
xlabel('n');
ylabel('y[n]=x[n]* y[n]');
----------------------
>> m1
convolution sequence of x,h, is
6 31 47 6 -51 -5 41 18 -22 -3 8 2
>> xlabel
----------------------
3. Given the following two sequences x(n) = [3, 11, 7,0, – 1,4, 2], – 3...
em 2: Given two sequences x[n] = 8 8[n - 8] and h[n] = (0.7)"u[n] Determine the z-transform of the convolution of the two sequences using the convolution property of the Z-transform Y(z) = X(z) H(2) Determine the convolution y[n] = x[n] * h[n] by using the inverse z-transform Problem 3: Find the inverse z-transform for the functions below. 4z-1 2-4 z-8 X(Z) = + 2-5 Z - 1 2-05 X(Z) = Z 2z2 + 2.7 z + 2
1. An LTI system has impulse response defined by h (n )={2 ,2 ,−1,−1 ,−1,−1}first 2 zero . Determine the outputs when the input x(n) is (a) u(n ) ; (b) u(n−4 ) 2. Let the rectangle pulse x ( n )=u ( n ) −u (n −10 ) be an input to an LTI system with impulse response h (n )=(0.9 )n u (n ) . Determine the output y ( n ) . (Hint: You need to consider muliple...
6. Given the two four-point sequences x[n] = (-2,-1,0, 2] and y[n] = [-1, -2, -1, -3), find the following: (a) x[n]*y[n], the linear convolution; (b) x[n]y[n], the circular convolution;
1. Write a Matlab function to convolve two sequences objects: function y = conv(x, h) % CONV Convolve two finite-length Matlab sequence objects, x and h % returning sequence object, y. When you convolve x[n] and h[n] , you may not use MATLAB's numerical conv routine. 2. write a second convolution function, conv_rt, in Matlab that basically implements a real-time convolu- tion strategy: function y = conv_rt(x, h) % Convolve two finite-length arrays, x and h % returning array, y...
5.34. Two signals æ[n] and h[n] are given by - 3, 4, 1, 6 arn]{2, t n 0 h[n1, 1, , 0, 0} t n 0 Compute the circular convolution y[n] x[n]h[n] through direct application of the circular convolution sum a. b. Compute the 5-point transforms X k] and H[k] c. Compute Y[k] Xk] Hk, and the obtain y[n] as the inverse DFT of Y [k. Verify that the same result is obtained as in part (a)
how to calculate the convolution Calculate the convolution of the following sequences: x[n] (n +1 )R, [n] and h = u [n-2] Answer: Note that the convolution of any sequence with u[n] is the sum of all the components (an integrator) 2. x[n]=仁1,-2-3-4) 1 vl n | =.xln|>k 11 | n | = 〈ー1, 2(00.-1,-3.-6.-10-10. Calculate the convolution of the following sequences: x[n] (n +1 )R, [n] and h = u [n-2] Answer: Note that the convolution of any sequence...
P-8.7 Consider two finite-length sequences, x[n] 0 n<0 1 0 <n<3 n> 3 0 and h[n] = 28[n] - 8[n - 1] - 8[n - 2]. (a) Determine and plot the discrete convolution y[n] = x[n] *h[n] for these two sequences.
Q4. Consider the two sequences x [n] = [0 otherwise h[n] = {00 otherwise α>1 calculate the convolution of two signals. Q5. Consider an L'TI system with input x (o] and impulse response h (o] specified as follows. x [n] = 2"u [-n] h [n] -u [n] Find the output y [n] using convolution sum. Q4. Consider the two sequences x [n] = [0 otherwise h[n] = {00 otherwise α>1 calculate the convolution of two signals. Q5. Consider an L'TI...
************PLEASE INCLUDE MATLAB CODES*********** Find y(n) by Performing graphical convolution of the following sequences and confirm your results via Matlab (Include Matlab code and graphics). Bold sample represent the sample value at n = 0 a. x(n) = {1, 2, 1, 1}, h(n) = {1, -1, 0, 0, 1, 1} b. x(n) = {1, 1, 0, 1, 1}, h(n) = {1, 2, 3, 2, 1}
3. Given two sequences (rn)5 and (h[n)you are asked to compute their linear convo 514 lution y[n-r[n]*h[n]. You decide to use the DFT to speed up the computation (a) What is the length of the sequence yn)? (b) Find the smallest number of zeros that should be padded to each sequence so that the earconvolution can be computed using the (c) To further speed computation, you decide to use a radix-2 FFT to compute the DFT How should the sequences...