Consider an LTI system where the input x[n] and output y[n] satisfy the following difference
equation (assume initial rest conditions):
y[n] 1.85 cos
s(7)y[n − 1] +0.83y[n − 2] = x[n] + x[n 1]
3. Using the "filter" Matlab function, generate and plot the response y[n] for -10 ≤ n ≤ 100
when the input is x[n] = 8[n], the unit impulse sequence.
4. Generate and plot the response y[n] for -10 ≤ n ≤ 100 when the input is x[n] = u[n], the unit
step sequence.
Fig: 1