eel4102 spring 2020 matlab assignment 4 –

For all the requested figures below, use a discrete time range of n = [0,50] on the x-axis.

Remember, all your answers must be on a single file and your script must be self-sufficient and run without any errors to receive any points. You should produce only one figure. Do not plot anything that you are not instructed to do so within this document.

Question 1. You are given a discrete time system (1) below: (𝐸−0.1)(𝐸−0.9)(𝐸−0.4)𝑦[𝑛]=(5−6𝐸)𝑥[𝑛] (1)

Given the discrete input signal x[n] (2) below, assuming all initial conditions are 0, compute and plot the output y[n], using the recursive solution method you have covered in class. You will not receive points for using another method.

x[n] = (cos(Ï€n ) + cos(Ï€n ))u[n]