Ans)
Assuming that for the given responses underlined element has '0' index i.e for
h[n]=[1 -1 2] index is nh=[-2 -1 0]
x[n]=[2 1 2 3] index is nx=[ -3 -2 -1 0]
the matlab code is
%==================code=============
% [y,ny] = convolution result
% [x,nx] = first signal
% [h,nh] = second signal
%
h=[1 -1 2]; nh=[-2 -1 0];
x=[2 1 2 3]; nx=[-3 -2 -1 0];
nyb = nx(1)+nh(1); nye = nx(length(x)) + nh(length(h));
ny = [nyb:nye]
y = conv(x,h)
%================================
the convolution output is
y[n]=[2 -1 5 3 1 6] index n=[-5 -4 -3 -2 -1 0]
The impulse response of a discrete time system is given by h(n) 1-121 To such a system apply an input of the type we x(...
The impulse response of a discrete time system is given by h(n) 1-121 To such a system apply an input of the type we x(n) [2 1 2 3 Use MATLAB to convolve the two sequences and enter the answer below.
6) Consider a discrete-time LTI system with impulse response h[n] = response h[n] = ( 1) u[n]. Use Fourie transforms to determine the response of this system to the input x[n] = ml + un).
Consider an LTI discrete-time system that has impulse response h n Tn-12) 1 if otherwise a) Determine the magnitude H(Q and the phase response LH(D for-r < Ω < π Enter Ω as "and enter the piecev se function Η Ω using the hea side function b)Determine the output of the system, rn, if the input is given by z n-Sn-9 +com( ) Enter your answer in terms of hin y[n] = In your answers, enter 2(n) for a discrete-time...
BC:9.4 A LTI discrete time system has an impulse response h[n] = (−0.6)nu[n] + (0.95)nu[n − 1] Find the transfer function, Hˆ (e jωˆ ), in the normalized frequency domain. Use Matlab to plot the magnitude and phase (in degrees) of Hˆ (e jωˆ ) in the range of −π ≤ ωˆ ≤ π. Attach your Matlab source code with the plots. BC:9.4 A LTI discrete time system has an impulse response h[n] = (-0.6)"u[n] + (0.95)"u[n-1] Find the transfer...
Problem 1 You are given the discrete-time LTI system with impulse response, Calculate the Fourier series coefficients of the output of this system when the input is x[n] = cos(n+π) Problem 1 You are given the discrete-time LTI system with impulse response, Calculate the Fourier series coefficients of the output of this system when the input is x[n] = cos(n+π)
BC:9.4 A LTI discrete time system has an impulse response h[n] = (-0.8)"u[n] + (0.65)"u[n-1] Find the transfer function, #(eo), in the normalized frequency domain. Use Matlab to plot the magni- tude and phase (in degrees) of H(eo) in the range of-? < ? < ?. Attach your Matlab source code with the plots. 1212 AM ^???4/4/2013
sin(r(n-18/6) r(n-18) n#18 if Consider an LTI discrete-time system that has impulse response h[n] = if otherwise a) Determine the magnitude lH(Q)I and the phase response LH(Q) for-r < Ω < π. Enter Ω as "O" and enter the piecewise function H(S2) using the heaviside function. IH(Q)| = LH(S2) = b) Determine the output of the system, y[n], if the input is given by x[n] = δ[n-71+ cos(쮜. Enter your answer in terms of h[n]. y[n] = In your answers,...
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...
1. Given the impulse response, h[n duration 50 samples. (-0.9)"u[n, find the step response for a step input of h-(0.9)-10:491 -ones (1,50) s- conv(u,h) 2. Plot h and u using stem function for 50 samples only stem(10:491, s(1:50) 1. Given a system described by the following difference equation: yIn] 1143yn 1 0.4128y[n -2 0.0675x[n0.1349xn 0.675x[n-2] Determine the output y in response to zero input and the initial conditionsy-11 and yl-2] 2 for 50 samples using the following commands: a -,-1.143,...
Problem 6 (25 points) For any discrete signal x[n], input to the system given in Figure 6, it is known that the output y[n] is equal to x[n]. (-1)" (-1)" H (1) x[n] 0 Heº) -(n)=x[n] Hey[n]=x[n] H () Figure 6: System of Problem 6. The high-pass filters Hi(ej) and H2(ej) are given by 3 Hlejl-{ 2, s1, Hz(239) = { 0, 112 , H2(en) = { 0, 0319 Š T' 121 > 207 0 < 19213 21 Find the...