Consider the system characterized by the following difference equation: + y(n) = x(n) + 2 x(n-1) + x(n-2) + 0.8 y(n-1) -
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Consider the system characterized by the following difference equation: + y(n) = x(n) + 2 x(n-1) + x(n-2) + 0.8 y(n-1) -
Consider the system characterized by the following difference equation: + y(n) = x(n) + 2 x(n-1) + x(n-2) + 0.8 y(n-1) - 0.64 y(n-2) d) Write a program or Matlab function that implements the difference equation for the system (assuming null initial conditions). - INCLUDE THE SOURCE CODE IN YOUR REPORT e) Use your program to calculate the response of the system to dín), the impulse sequence you created. Plot (stem) the resulting output, to n = 255. This is the impulse response of the system, f) Use your program to obtain the output sequence that results when you use x1(n) as the input. Plot (stem) the resulting output, to n = 255. What is the amplitude of the output sequence? Was the signal amplified through the system? By how much? Obtain the 256-point DFT of the output. Plot the magnitude of the first 128 DFT coefficients. g) Do as in f), but now using x2(n) as the input to the system. h) Do as in f), but now using x3(n) as the input to the system. i) Do as in f), but now using xt(n) as the input to the system. i) Which kinds of frequencies (low frequencies, high frequencies, mid frequencies) are attenuated the least through this system?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!