Question

Consider the discrete-time LTI system characterized by the following difference equation with input and initial conditions specified: \text { n] }+2 y[n-1]-8 y[n-2]=x[n], \text { with } y[0]=1 \text {

and } y[1]=-1, x[n]=(2 / 3)^{n} u[n-2] Write a MATLAB program to simulate this difference equation. You may try the commands 'filter' or filtic' or create a loop to compute the valuesrecursively. Printout and plot the values of the input signal, x[n] and the output signal, y[n] over therange 1

Question image 1Question image 2Question image 3Question image 4Question image 5Question image 6Question image 7Question image 8