please i need help in this matlab homework, we havent covered in class but my lecturer gave us as a homework, please help ASAP....
a) Using MATLAB, generate the impulse response to the following difference equation:
y[n ] -1.8cos( pi/16)y[n-1]+ 0.81y[n-2]=x[n]+0.5x[n-1].
Plot h[n] in the range of -10=< n=<100 .
b)Determine the impulse response analytically to verify your results.
Hint: You may use Impz or filter command to find the impulse response
c) Use freqz to make plots of the magnitude and phase responses for the difference
equation above. Use 512 points, equally spaced between 0 and 2pi
a) Using MATLAB, generate the impulse response to the following difference equation:
y[n ] -1.8cos( pi/16)y[n-1]+ 0.81y[n-2]=x[n]+0.5x[n-1].
Plot h[n] in the range of -10=< n=<100 .
b)Determine the impulse response analytically to verify your results.
Hint: You may use Impz or filter command to find the impulse response
c) Use freqz to make plots of the magnitude and phase responses for the difference
equation above. Use 512 points, equally spaced between 0 and 2pi
Last edited: